From f709d1fb9d1d22e306fc600872dd2b702436f961 Mon Sep 17 00:00:00 2001 From: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Date: Fri, 24 Mar 2023 10:19:20 +0530 Subject: [PATCH 01/17] fix(test-cases): fix test cases to use template like secret keys (#1973) * fix(test-cases): fix test cases of mailchimp * fix(test-cases): fix test cases of sendgrid * fix(test-cases): fix test cases of sendgrid router and batching * fix(test-cases): fix test cases of slack * fix(test-cases): fix test cases of google_adwords_remarketing * fix(test-cases): fix test cases of bqstream * fix(test-cases): fix test cases of hubspot * fix(test-cases): fix test cases of bqstream --------- Co-authored-by: Krishna Chaitanya --- test/__mocks__/data/hs/response.json | 4 +- test/__mocks__/data/mailchimp/response.json | 13 +- test/__mocks__/mailchimp.mock.js | 6 +- test/__tests__/data/bqstream_input.json | 4 +- .../__tests__/data/bqstream_router_input.json | 4 +- .../data/bqstream_router_output.json | 2 +- ...oogle_adwords_remarketing_lists_input.json | 174 +++++++++--------- ...ogle_adwords_remarketing_lists_output.json | 110 +++++------ ...adwords_remarketing_lists_proxy_input.json | 12 +- test/__tests__/data/hs_input.json | 142 +++++++------- test/__tests__/data/hs_output.json | 52 +++--- test/__tests__/data/hs_router_input.json | 50 ++--- .../data/hs_router_input_legacy.json | 16 +- .../data/hs_router_legacy_rETL_input.json | 8 +- .../data/hs_router_legacy_rETL_output.json | 12 +- test/__tests__/data/hs_router_output.json | 38 ++-- .../data/hs_router_output_legacy.json | 12 +- test/__tests__/data/hs_router_rETL_input.json | 20 +- .../__tests__/data/hs_router_rETL_output.json | 24 +-- test/__tests__/data/mailchimp_input.json | 114 ++++++------ test/__tests__/data/mailchimp_output.json | 88 ++++----- .../data/mailchimp_router_input.json | 36 ++-- .../data/mailchimp_router_output.json | 46 ++--- test/__tests__/data/sendgrid.json | 42 ++--- test/__tests__/data/sendgrid_batch.json | 36 ++-- test/__tests__/data/sendgrid_router.json | 6 +- test/__tests__/data/slack_input.json | 14 +- test/__tests__/data/slack_output.json | 6 +- test/__tests__/data/slack_router_input.json | 4 +- test/__tests__/data/slack_router_output.json | 6 +- 30 files changed, 552 insertions(+), 549 deletions(-) diff --git a/test/__mocks__/data/hs/response.json b/test/__mocks__/data/hs/response.json index 2fbcc564f1..721ee64410 100644 --- a/test/__mocks__/data/hs/response.json +++ b/test/__mocks__/data/hs/response.json @@ -1,5 +1,5 @@ { - "https://api.hubapi.com/properties/v1/contacts/properties?hapikey=e7a09623-7a0a-4529-9158-3a7c7c96ffe3": [ + "https://api.hubapi.com/properties/v1/contacts/properties?hapikey=dummy-apikey": [ { "name": "company_size", "type": "string" }, { "name": "date_of_birth", "type": "string" }, { "name": "days_to_close", "type": "number" }, @@ -411,7 +411,7 @@ } ] }, - "https://api.hubapi.com/crm/v3/objects/lead/search?hapikey=e7a09623-7a0a-4529-9158-3a7c7c96ffe3": { + "https://api.hubapi.com/crm/v3/objects/lead/search?hapikey=dummy-apikey": { "total": 1, "results": [ { diff --git a/test/__mocks__/data/mailchimp/response.json b/test/__mocks__/data/mailchimp/response.json index 563924b868..3f441cd853 100644 --- a/test/__mocks__/data/mailchimp/response.json +++ b/test/__mocks__/data/mailchimp/response.json @@ -1,21 +1,24 @@ { - "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/0b63fa319d113aede8b7b409e4fc6437": { + "https://usXXX.api.mailchimp.com/3.0/lists/aud111/members/0b63fa319d113aede8b7b409e4fc6437": { "type": "https://mailchimp.com/developer/marketing/docs/errors/", "title": "Forbidden", "status": 403, "detail": "The API key provided is linked to datacenter 'us6'", "instance": "ff092056-4d86-aa05-bbe9-9e9466108d81" }, - "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab": { + "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab": { "contact_id": 821932121 }, - "https://us20.api.mailchimp.com/3.0/lists/ff21810eec": { + "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/b599284b872e06d29bb796a260ae7c1f": { + "contact_id": 821932121 + }, + "https://usXX.api.mailchimp.com/3.0/lists/aud000": { "double_optin": false }, - "https://us20.api.mailchimp.com/3.0/lists/df42a82d07": { + "https://usXX.api.mailchimp.com/3.0/lists/aud112": { "double_optin": false }, - "https://us20.api.mailchimp.com/3.0/lists/1232yyqw22": { + "https://usXX.api.mailchimp.com/3.0/lists/aud002": { "double_optin": false } } diff --git a/test/__mocks__/mailchimp.mock.js b/test/__mocks__/mailchimp.mock.js index 0d844d2780..e52814c822 100644 --- a/test/__mocks__/mailchimp.mock.js +++ b/test/__mocks__/mailchimp.mock.js @@ -27,12 +27,12 @@ const mailchimpGetRequestHandler = url => { if (mockData) { if ( url === - "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab" + "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab" ) { return { data: mockData, status: 200 }; - } else if (url === "https://us20.api.mailchimp.com/3.0/lists/ff21810eec") { + } else if (url === "https://usXX.api.mailchimp.com/3.0/lists/aud111") { return { data: mockData, status: 200 }; - } else if (url === "https://us20.api.mailchimp.com/3.0/lists/1232yyqw22") { + } else if (url === "https://usXX.api.mailchimp.com/3.0/lists/aud112") { return { data: mockData, status: 200 }; } else { return new Promise((resolve, reject) => { diff --git a/test/__tests__/data/bqstream_input.json b/test/__tests__/data/bqstream_input.json index 50e517c307..e4383cd963 100644 --- a/test/__tests__/data/bqstream_input.json +++ b/test/__tests__/data/bqstream_input.json @@ -2,7 +2,7 @@ { "destination": { "Config": { - "rudderAccountId": "1z8LpaSAuFR9TPWL6fECZfjmRa-", + "rudderAccountId": "rudder-acc-id", "projectId": "gc-project-id", "datasetId": "gc_dataset", "tableId": "gc_table", @@ -108,7 +108,7 @@ { "destination": { "Config": { - "rudderAccountId": "1z8LpaSAuFR9TPWL6fECZfjmRa-", + "rudderAccountId": "rudder-acc-id", "projectId": "gc-project-id", "datasetId": "gc_dataset", "tableId": "gc_table", diff --git a/test/__tests__/data/bqstream_router_input.json b/test/__tests__/data/bqstream_router_input.json index 9a808a538e..95d59b444b 100644 --- a/test/__tests__/data/bqstream_router_input.json +++ b/test/__tests__/data/bqstream_router_input.json @@ -65,7 +65,7 @@ }, "destination": { "Config": { - "rudderAccountId": "1z8LpaSAuFR9TPWL6fECZfjmRa-", + "rudderAccountId": "rudder-acc-id", "projectId": "gc-project-id", "datasetId": "gc_dataset", "tableId": "gc_table", @@ -144,7 +144,7 @@ }, "destination": { "Config": { - "rudderAccountId": "1z8LpaSAuFR9TPWL6fECZfjmRa-", + "rudderAccountId": "rudder-acc-id", "projectId": "gc-project-id", "datasetId": "gc_dataset", "tableId": "gc_table", diff --git a/test/__tests__/data/bqstream_router_output.json b/test/__tests__/data/bqstream_router_output.json index 24cd34e399..04142d74de 100644 --- a/test/__tests__/data/bqstream_router_output.json +++ b/test/__tests__/data/bqstream_router_output.json @@ -31,7 +31,7 @@ "statusCode": 200, "destination": { "Config": { - "rudderAccountId": "1z8LpaSAuFR9TPWL6fECZfjmRa-", + "rudderAccountId": "rudder-acc-id", "projectId": "gc-project-id", "datasetId": "gc_dataset", "tableId": "gc_table", diff --git a/test/__tests__/data/google_adwords_remarketing_lists_input.json b/test/__tests__/data/google_adwords_remarketing_lists_input.json index 6a42ff936a..d084cb3c5f 100644 --- a/test/__tests__/data/google_adwords_remarketing_lists_input.json +++ b/test/__tests__/data/google_adwords_remarketing_lists_input.json @@ -2,15 +2,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -51,15 +51,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "769-372-9833", "loginCustomerId": "870-483-0944", "subAccount": true, @@ -101,15 +101,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -152,15 +152,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -220,15 +220,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -270,15 +270,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -319,15 +319,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -356,15 +356,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": true, @@ -413,15 +413,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -989,15 +989,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -1064,15 +1064,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -2177,15 +2177,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -2234,15 +2234,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -2291,15 +2291,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -3404,15 +3404,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -3479,15 +3479,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -3554,15 +3554,15 @@ { "metadata": { "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" } }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, @@ -3606,8 +3606,8 @@ }, "destination": { "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", + "rudderAccountId": "rudder-acc-id", + "listId": "list111", "customerId": "7693729833", "loginCustomerId": "", "subAccount": false, diff --git a/test/__tests__/data/google_adwords_remarketing_lists_output.json b/test/__tests__/data/google_adwords_remarketing_lists_output.json index c51a12947e..73d404ca32 100644 --- a/test/__tests__/data/google_adwords_remarketing_lists_output.json +++ b/test/__tests__/data/google_adwords_remarketing_lists_output.json @@ -6,12 +6,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -54,13 +54,13 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101", + "developer-token": "dummy-dev-token", "login-customer-id": "8704830944" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -92,12 +92,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -125,7 +125,7 @@ { "metadata": { "secret": { - "access_token": "abcd1234" + "access_token": "dummy-access" } }, "statusCode": 400, @@ -139,7 +139,7 @@ { "metadata": { "secret": { - "access_token": "abcd1234" + "access_token": "dummy-access" } }, "statusCode": 400, @@ -153,7 +153,7 @@ { "metadata": { "secret": { - "access_token": "abcd1234" + "access_token": "dummy-access" } }, "statusCode": 400, @@ -167,7 +167,7 @@ { "metadata": { "secret": { - "access_token": "abcd1234" + "access_token": "dummy-access" } }, "statusCode": 400, @@ -181,7 +181,7 @@ { "metadata": { "secret": { - "access_token": "abcd1234" + "access_token": "dummy-access" } }, "statusCode": 400, @@ -199,12 +199,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -1221,12 +1221,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -1280,12 +1280,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -1341,12 +1341,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -2361,12 +2361,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -3383,12 +3383,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -3440,9 +3440,9 @@ { "metadata": { "secret": { - "access_token": "abcd1234", + "access_token": "dummy-access", "refresh_token": "efgh5678", - "developer_token": "ijkl9101" + "developer_token": "dummy-dev-token" } }, "statusCode": 400, @@ -3460,12 +3460,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -4480,12 +4480,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -5502,12 +5502,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -5561,12 +5561,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -5622,12 +5622,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -5680,12 +5680,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { @@ -5737,12 +5737,12 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer abcd1234", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "ijkl9101" + "developer-token": "dummy-dev-token" }, "params": { - "listId": "7090784486", + "listId": "list111", "customerId": "7693729833" }, "body": { diff --git a/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json b/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json index 6229578031..3a8e46c848 100644 --- a/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json +++ b/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json @@ -7,9 +7,9 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer ya29.A0ARrdaM-55_tpJe4QQUsdpea0pwko0O1N8akM3yxMg6PogqyW1XiC4F1nlTIvqHuBqkGlkj8ITc7y0gSGJBIe_fWrv5KV4w_wDho_9VdYqIWeJo63T5-3RHaABf5dySFwThQ1sJyZiXwdgB4Y9lN5u2C7Nfl0", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "3FdS-r4RLKMEeOAbxSn8IQ" + "developer-token": "dummy-dev-token" }, "params": { "listId": "709078448", @@ -60,9 +60,9 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729834/offlineUserDataJobs", "headers": { - "Authorization": "Bearer ya29.A0ARrdaM-55_tpJe4QQUsdpea0pwko0O1N8akM3yxMg6PogqyW1XiC4F1nlTIvqHuBqkGlkj8ITc7y0gSGJBIe_fWrv5KV4w_wDho_9VdYqIWeJo63T5-3RHaABf5dySFwThQ1sJyZiXwdgB4Y9lN5u2C7Nfl0", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "3FdS-r4RLKMEeOAbxSn8IQ" + "developer-token": "dummy-dev-token" }, "params": { "listId": "709078448", @@ -99,9 +99,9 @@ "method": "POST", "endpoint": "https://googleads.googleapis.com/v13/customers/7693729833/offlineUserDataJobs", "headers": { - "Authorization": "Bearer ya29.A0ARrdaM-55_tpJe4QQUsdpea0pwko0O1N8akM3yxMg6PogqyW1XiC4F1nlTIvqHuBqkGlkj8ITc7y0gSGJBIe_fWrv5KV4w_wDho_9VdYqIWeJo63T5-3RHaABf5dySFwThQ1sJyZiXwdgB4Y9lN5u2C7Nfl0", + "Authorization": "Bearer dummy-access", "Content-Type": "application/json", - "developer-token": "3FdS-r4RLKMEeOAbxSn8IQ" + "developer-token": "dummy-dev-token" }, "params": { "listId": "709078448", diff --git a/test/__tests__/data/hs_input.json b/test/__tests__/data/hs_input.json index 801f93c7d0..f1fb692117 100644 --- a/test/__tests__/data/hs_input.json +++ b/test/__tests__/data/hs_input.json @@ -48,8 +48,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -104,8 +104,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -153,8 +153,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -208,8 +208,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -262,8 +262,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -312,8 +312,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -362,8 +362,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -421,7 +421,7 @@ "destination": { "Config": { "apiKey": "invalid-api-key", - "hubID": "6405167" + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", @@ -496,7 +496,7 @@ "destination": { "Config": { "apiKey": "rate-limit-id", - "hubID": "6405167" + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", @@ -557,8 +557,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -621,8 +621,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -685,8 +685,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -752,7 +752,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "", "apiKey": "", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [], @@ -832,7 +832,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "", "apiKey": "", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [], @@ -891,8 +891,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -947,8 +947,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -1005,8 +1005,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "Enabled": true } @@ -1062,9 +1062,9 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", + "accessToken": "dummy-access-token", "apiVersion": "legacyApi", "lookupField": "", "blacklistedEvents": [ @@ -1133,9 +1133,9 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [], @@ -1206,9 +1206,9 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "email", "hubspotEvents": [], @@ -1278,9 +1278,9 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "firstname", "hubspotEvents": [], @@ -1347,7 +1347,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "1", "apiKey": "1", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ @@ -1446,8 +1446,8 @@ "destination": { "Config": { "authorizationType": "legacyApiKey", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "accessToken": "", "apiVersion": "legacyApi", "lookupField": "lookupField", @@ -1541,8 +1541,8 @@ "destination": { "Config": { "authorizationType": "legacyApiKey", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "accessToken": "", "apiVersion": "legacyApi", "lookupField": "lookupField", @@ -1612,7 +1612,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "", "apiKey": "", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ @@ -1676,7 +1676,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "", "apiKey": "", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ @@ -1745,7 +1745,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "", "apiKey": "", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ @@ -1807,7 +1807,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "", "apiKey": "", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ @@ -1879,7 +1879,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "", "apiKey": "", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ @@ -2123,8 +2123,8 @@ "destination": { "Config": { "authorizationType": "legacyApiKey", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "accessToken": "", "apiVersion": "newApi", "lookupField": "lookupField", @@ -2218,8 +2218,8 @@ "destination": { "Config": { "authorizationType": "legacyApiKey", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "accessToken": "", "apiVersion": "newApi", "lookupField": "lookupField", @@ -2319,9 +2319,9 @@ "destination": { "Config": { "authorizationType": "legacyApiKey", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "email", "hubspotEvents": [], @@ -2363,7 +2363,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "", "apiKey": "", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ @@ -2436,7 +2436,7 @@ "destination": { "Config": { "authorizationType": "legacyApiKey", - "hubID": "6405167", + "hubID": "dummy-hubId", "apiKey": "", "accessToken": "", "apiVersion": "newApi", @@ -2499,7 +2499,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "", "apiKey": "", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ @@ -2593,8 +2593,8 @@ "destination": { "Config": { "authorizationType": "legacyApiKey", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "accessToken": "", "apiVersion": "newApi", "lookupField": "lookupField", @@ -2688,8 +2688,8 @@ "destination": { "Config": { "authorizationType": "legacyApiKey", - "hubID": "6405167", - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "accessToken": "", "apiVersion": "newApi", "lookupField": "lookupField", @@ -2752,7 +2752,7 @@ "authorizationType": "newPrivateAppApi", "hubID": "", "apiKey": "", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "legacyApi", "lookupField": "lookupField", "hubspotEvents": [ @@ -2844,10 +2844,10 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167", + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId", "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "accessToken": "dummy-access-token", "apiVersion": "legacyApi" }, "Enabled": true @@ -2914,7 +2914,7 @@ "destination": { "Config": { "apiKey": "rate-limit-id", - "hubID": "6405167" + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", diff --git a/test/__tests__/data/hs_output.json b/test/__tests__/data/hs_output.json index 11bc8dc5e7..532f66e0ed 100644 --- a/test/__tests__/data/hs_output.json +++ b/test/__tests__/data/hs_output.json @@ -9,7 +9,7 @@ "Content-Type": "application/json" }, "params": { - "hapikey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3" + "hapikey": "dummy-apikey" }, "body": { "JSON": { @@ -45,7 +45,7 @@ "Content-Type": "application/json" }, "params": { - "_a": "6405167", + "_a": "dummy-hubId", "_n": "test track event HS", "email": "testhubspot2@email.com", "firstname": "Test Hubspot" @@ -68,7 +68,7 @@ "Content-Type": "application/json" }, "params": { - "hapikey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3" + "hapikey": "dummy-apikey" }, "body": { "JSON": { @@ -104,7 +104,7 @@ "Content-Type": "application/json" }, "params": { - "_a": "6405167", + "_a": "dummy-hubId", "_n": "test track event HS", "_m": 4.99, "email": "testhubspot2@email.com", @@ -128,7 +128,7 @@ "Content-Type": "application/json" }, "params": { - "_a": "6405167", + "_a": "dummy-hubId", "_n": "test track event HS", "_m": 4.99, "email": "testhubspot2@email.com", @@ -158,7 +158,7 @@ "Content-Type": "application/json" }, "params": { - "_a": "6405167", + "_a": "dummy-hubId", "_n": "test track event HS", "email": "testhubspot2@email.com", "firstname": "Test Hubspot" @@ -183,7 +183,7 @@ "Content-Type": "application/json" }, "params": { - "hapikey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3" + "hapikey": "dummy-apikey" }, "body": { "JSON": { @@ -213,7 +213,7 @@ "Content-Type": "application/json" }, "params": { - "hapikey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3" + "hapikey": "dummy-apikey" }, "body": { "JSON": { @@ -240,7 +240,7 @@ "source": "rETL", "operation": "createObject", "headers": { - "Authorization": "Bearer pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "Authorization": "Bearer dummy-access-token", "Content-Type": "application/json" }, "params": {}, @@ -269,7 +269,7 @@ "source": "rETL", "operation": "updateObject", "headers": { - "Authorization": "Bearer pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37", + "Authorization": "Bearer dummy-access-token", "Content-Type": "application/json" }, "params": {}, @@ -299,7 +299,7 @@ "Content-Type": "application/json" }, "params": { - "_a": "6405167", + "_a": "dummy-hubId", "_n": "test track event HS", "email": "testhubspot2@email.com", "firstname": "Test Hubspot" @@ -322,7 +322,7 @@ "Content-Type": "application/json" }, "params": { - "_a": "6405167", + "_a": "dummy-hubId", "_n": "test track event HS 2", "id": "6556", "email": "testhubspot2@email.com", @@ -346,7 +346,7 @@ "Content-Type": "application/json" }, "params": { - "_a": "6405167", + "_a": "dummy-hubId", "_n": "test track event HS 2", "id": "6556", "address": "24. park", @@ -368,7 +368,7 @@ "endpoint": "https://api.hubapi.com/contacts/v1/contact/createOrUpdate/email/testhubspot2@email.com", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "body": { @@ -399,7 +399,7 @@ "endpoint": "https://api.hubapi.com/crm/v3/objects/contacts/103604", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "operation": "updateContacts", @@ -425,7 +425,7 @@ "endpoint": "https://api.hubapi.com/crm/v3/objects/contacts", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "operation": "createContacts", @@ -455,7 +455,7 @@ "endpoint": "https://api.hubapi.com/events/v3/send", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "body": { @@ -483,7 +483,7 @@ "Content-Type": "application/json" }, "params": { - "hapikey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3" + "hapikey": "dummy-apikey" }, "body": { "JSON": { @@ -515,7 +515,7 @@ "Content-Type": "application/json" }, "params": { - "_a": "6405167", + "_a": "dummy-hubId", "_n": "test track event HS", "email": "testhubspot2@email.com", "firstname": "Test Hubspot" @@ -545,7 +545,7 @@ "endpoint": "https://api.hubapi.com/crm/v3/objects/contacts", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "body": { @@ -570,7 +570,7 @@ "endpoint": "https://api.hubapi.com/crm/v3/objects/contacts", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "body": { @@ -604,7 +604,7 @@ "endpoint": "https://api.hubapi.com/events/v3/send", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "body": { @@ -644,7 +644,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://api.hubapi.com/events/v3/send?hapikey=e7a09623-7a0a-4529-9158-3a7c7c96ffe3", + "endpoint": "https://api.hubapi.com/events/v3/send?hapikey=dummy-apikey", "headers": { "Content-Type": "application/json" }, @@ -685,7 +685,7 @@ "Content-Type": "application/json" }, "params": { - "hapikey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3" + "hapikey": "dummy-apikey" }, "operation": "createContacts", "body": { @@ -739,10 +739,10 @@ "endpoint": "https://track.hubspot.com/v1/event", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-6f0a6b6d-f623-4e0e-8a51-1a810f31ea37" + "Authorization": "Bearer dummy-access-token" }, "params": { - "_a": "6405167", + "_a": "dummy-hubId", "_n": "test track event HS", "email": "testhubspot2@email.com", "firstname": "Test Hubspot" diff --git a/test/__tests__/data/hs_router_input.json b/test/__tests__/data/hs_router_input.json index b18c6bc866..7f82f2f8d4 100644 --- a/test/__tests__/data/hs_router_input.json +++ b/test/__tests__/data/hs_router_input.json @@ -52,15 +52,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "email", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -74,7 +74,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", @@ -172,15 +172,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "email", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -194,7 +194,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", @@ -263,15 +263,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -285,7 +285,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", @@ -383,15 +383,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "email", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -405,7 +405,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", @@ -503,15 +503,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "email", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -525,7 +525,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", diff --git a/test/__tests__/data/hs_router_input_legacy.json b/test/__tests__/data/hs_router_input_legacy.json index 4003afbf88..022aba7315 100644 --- a/test/__tests__/data/hs_router_input_legacy.json +++ b/test/__tests__/data/hs_router_input_legacy.json @@ -51,8 +51,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", @@ -120,8 +120,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", @@ -154,7 +154,7 @@ }, "userId": "00000000000000000000000000", "params": { - "hapikey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3" + "hapikey": "dummy-apikey" }, "body": { "JSON": { @@ -180,8 +180,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", @@ -256,7 +256,7 @@ "destination": { "Config": { "apiKey": "rate-limit-id", - "hubID": "6405167" + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", diff --git a/test/__tests__/data/hs_router_legacy_rETL_input.json b/test/__tests__/data/hs_router_legacy_rETL_input.json index 1f1c5b0ca1..6bba7d72de 100644 --- a/test/__tests__/data/hs_router_legacy_rETL_input.json +++ b/test/__tests__/data/hs_router_legacy_rETL_input.json @@ -37,8 +37,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", @@ -101,8 +101,8 @@ }, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", diff --git a/test/__tests__/data/hs_router_legacy_rETL_output.json b/test/__tests__/data/hs_router_legacy_rETL_output.json index e0627d3905..dcd3ab91b1 100644 --- a/test/__tests__/data/hs_router_legacy_rETL_output.json +++ b/test/__tests__/data/hs_router_legacy_rETL_output.json @@ -9,7 +9,7 @@ "Content-Type": "application/json" }, "params": { - "hapikey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3" + "hapikey": "dummy-apikey" }, "body": { "JSON": { @@ -39,8 +39,8 @@ "statusCode": 200, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", @@ -72,7 +72,7 @@ "Content-Type": "application/json" }, "params": { - "hapikey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3" + "hapikey": "dummy-apikey" }, "body": { "JSON": { @@ -103,8 +103,8 @@ "statusCode": 200, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", diff --git a/test/__tests__/data/hs_router_output.json b/test/__tests__/data/hs_router_output.json index 2a77336480..bd0045e7e6 100644 --- a/test/__tests__/data/hs_router_output.json +++ b/test/__tests__/data/hs_router_output.json @@ -7,7 +7,7 @@ "endpoint": "https://api.hubapi.com/crm/v3/objects/contacts/batch/create", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "body": { @@ -40,15 +40,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "email", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -62,7 +62,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", @@ -115,7 +115,7 @@ "endpoint": "https://api.hubapi.com/crm/v3/objects/contacts/batch/update", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "body": { @@ -149,15 +149,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "email", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -171,7 +171,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", @@ -224,13 +224,13 @@ "endpoint": "https://api.hubapi.com/events/v3/send", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "body": { "JSON": { "email": "osvaldocostaferreira98@gmail.com", - "eventName": "pe22315509_rs_hub_test", + "eventName": "pedummy-hubId_rs_hub_test", "properties": { "value": "name1" } @@ -251,15 +251,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "email", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -273,7 +273,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", diff --git a/test/__tests__/data/hs_router_output_legacy.json b/test/__tests__/data/hs_router_output_legacy.json index d9c196364d..7ce945a24a 100644 --- a/test/__tests__/data/hs_router_output_legacy.json +++ b/test/__tests__/data/hs_router_output_legacy.json @@ -9,7 +9,7 @@ "Content-Type": "application/json" }, "params": { - "hapikey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3" + "hapikey": "dummy-apikey" }, "body": { "JSON": {}, @@ -36,8 +36,8 @@ "statusCode": 200, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", @@ -69,7 +69,7 @@ "Content-Type": "application/json" }, "params": { - "_a": "6405167", + "_a": "dummy-hubId", "_n": "test track event HS", "email": "testhubspot2@email.com", "firstname": "Test Hubspot2" @@ -91,8 +91,8 @@ "statusCode": 200, "destination": { "Config": { - "apiKey": "e7a09623-7a0a-4529-9158-3a7c7c96ffe3", - "hubID": "6405167" + "apiKey": "dummy-apikey", + "hubID": "dummy-hubId" }, "secretConfig": {}, "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", diff --git a/test/__tests__/data/hs_router_rETL_input.json b/test/__tests__/data/hs_router_rETL_input.json index 6f3a8bc217..facb28ae82 100644 --- a/test/__tests__/data/hs_router_rETL_input.json +++ b/test/__tests__/data/hs_router_rETL_input.json @@ -38,15 +38,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -60,7 +60,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", @@ -147,15 +147,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -169,7 +169,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", diff --git a/test/__tests__/data/hs_router_rETL_output.json b/test/__tests__/data/hs_router_rETL_output.json index af50adbd1e..5293a47cf9 100644 --- a/test/__tests__/data/hs_router_rETL_output.json +++ b/test/__tests__/data/hs_router_rETL_output.json @@ -7,7 +7,7 @@ "endpoint": "https://api.hubapi.com/crm/v3/objects/lead/batch/create", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "body": { @@ -39,15 +39,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -61,7 +61,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", @@ -114,7 +114,7 @@ "endpoint": "https://api.hubapi.com/crm/v3/objects/lead/batch/update", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041" + "Authorization": "Bearer dummy-access-token" }, "params": {}, "body": { @@ -147,15 +147,15 @@ "destination": { "Config": { "authorizationType": "newPrivateAppApi", - "accessToken": "pat-na1-d19ac452-5fc6-465e-92b9-04b4949d3041", - "hubID": "22315509", - "apiKey": "f6c355c9-0bbf-4a10-b5dc-7d68ffae4cc1", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", "apiVersion": "newApi", "lookupField": "lookupField", "hubspotEvents": [ { "rsEventName": "Purchase", - "hubspotEventName": "pe22315509_rs_hub_test", + "hubspotEventName": "pedummy-hubId_rs_hub_test", "eventProperties": [ { "from": "Revenue", @@ -169,7 +169,7 @@ }, { "rsEventName": "Order Complete", - "hubspotEventName": "pe22315509_rs_hub_chair", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", "eventProperties": [ { "from": "firstName", diff --git a/test/__tests__/data/mailchimp_input.json b/test/__tests__/data/mailchimp_input.json index 9c7f9daf71..a4839edc07 100644 --- a/test/__tests__/data/mailchimp_input.json +++ b/test/__tests__/data/mailchimp_input.json @@ -9,9 +9,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -77,9 +77,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -140,9 +140,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "25adacdcd8c4ef4672fbdc626fbcf331-us6", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey-usYY", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -217,9 +217,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "25adacdcd8c4ef4442fbdc626fbcf331-us6", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -296,9 +296,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -366,9 +366,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -413,9 +413,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "d966df2e59d105c00f13de330d94000b-us14", - "audienceId": "ff21810ddc", - "datacenterId": "us14" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -470,9 +470,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "ff21810eec", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud112", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -529,9 +529,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -588,9 +588,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -651,8 +651,8 @@ }, "Config": { "apiKey": "", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -712,8 +712,8 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "awesrdcfgvhbjnkkjhgf", - "datacenterId": "us20" + "apiKey": "apikey", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -773,8 +773,8 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "w4a5346yeu75jyhrgfred", - "audienceId": "df42a82d07", + "apiKey": "apikey", + "audienceId": "aud111", "datacenterId": "" }, "Enabled": true, @@ -835,9 +835,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "zesrxdthfcjg345yruikyhntbgrafvd", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -897,9 +897,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "zesrxdthfcjg345yruikyhntbgrafvd", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -938,9 +938,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "zesrxdthfcjg345yruikyhntbgrafvd", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -980,9 +980,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "zesrxdthfcjg345yruikyhntbgrafvd", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -1016,9 +1016,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "zesrxdthfcjg345yruikyhntbgrafvd", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -1057,9 +1057,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "zesrxdthfcjg345yruikyhntbgrafvd", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -1094,9 +1094,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "zesrxdthfcjg345yruikyhntbgrafvd", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] diff --git a/test/__tests__/data/mailchimp_output.json b/test/__tests__/data/mailchimp_output.json index 6221318154..223b632fe5 100644 --- a/test/__tests__/data/mailchimp_output.json +++ b/test/__tests__/data/mailchimp_output.json @@ -3,10 +3,10 @@ "version": "1", "type": "REST", "method": "PUT", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Ojk0ZjcxOTE3ZDg1MjI3NzBjOTc0NDliMGM5MGNhYTRjLXVzMjA=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -31,16 +31,16 @@ "FORM": {} }, "files": {}, - "audienceId": "df42a82d07" + "audienceId": "aud111" }, { "version": "1", "type": "REST", "method": "PUT", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Ojk0ZjcxOTE3ZDg1MjI3NzBjOTc0NDliMGM5MGNhYTRjLXVzMjA=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -56,7 +56,7 @@ "FORM": {} }, "files": {}, - "audienceId": "df42a82d07" + "audienceId": "aud111" }, { "error": "User does not have access to the requested operation", @@ -70,8 +70,8 @@ }, "Config": { "apiKey": "25adacdcd8c4ef4672fbdc626fbcf331-us6", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -88,8 +88,8 @@ }, "Config": { "apiKey": "25adacdcd8c4ef4442fbdc626fbcf331-us6", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -100,10 +100,10 @@ "version": "1", "type": "REST", "method": "PUT", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Ojk0ZjcxOTE3ZDg1MjI3NzBjOTc0NDliMGM5MGNhYTRjLXVzMjA=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -119,7 +119,7 @@ "FORM": {} }, "files": {}, - "audienceId": "df42a82d07" + "audienceId": "aud111" }, { "destination": { @@ -131,9 +131,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "apiKey": "94f71917d8522770c97449b0c90caa4c-usXX", + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -181,11 +181,11 @@ "params": {}, "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Ojk0ZjcxOTE3ZDg1MjI3NzBjOTc0NDliMGM5MGNhYTRjLXVzMjA=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, - "audienceId": "ff21810eec", + "audienceId": "aud112", "version": "1", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/ff21810eec/members/7f3863b197eeff650876bb89eca08e57" + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud112/members/7f3863b197eeff650876bb89eca08e57" }, { "body": { @@ -201,22 +201,22 @@ "files": {}, "method": "PUT", "params": {}, - "audienceId": "df42a82d07", + "audienceId": "aud111", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Ojk0ZjcxOTE3ZDg1MjI3NzBjOTc0NDliMGM5MGNhYTRjLXVzMjA=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "version": "1", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab" + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab" }, { "version": "1", "type": "REST", "method": "PUT", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Ojk0ZjcxOTE3ZDg1MjI3NzBjOTc0NDliMGM5MGNhYTRjLXVzMjA=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -229,7 +229,7 @@ "FORM": {} }, "files": {}, - "audienceId": "df42a82d07" + "audienceId": "aud111" }, { "destination": { @@ -242,8 +242,8 @@ }, "Config": { "apiKey": "", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -261,7 +261,7 @@ }, "Config": { "apiKey": "awesrdcfgvhbjnkkjhgf", - "datacenterId": "us20" + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -278,8 +278,8 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "w4a5346yeu75jyhrgfred", - "audienceId": "df42a82d07", + "apiKey": "apikey", + "audienceId": "aud111", "datacenterId": "" }, "Enabled": true, @@ -298,8 +298,8 @@ }, "Config": { "apiKey": "zesrxdthfcjg345yruikyhntbgrafvd", - "audienceId": "df42a82d07", - "datacenterId": "us20" + "audienceId": "aud111", + "datacenterId": "usXX" }, "Enabled": true, "Transformations": [] @@ -310,10 +310,10 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab/events", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab/events", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Onplc3J4ZHRoZmNqZzM0NXlydWlreWhudGJncmFmdmQ=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -330,16 +330,16 @@ "FORM": {} }, "files": {}, - "audienceId": "df42a82d07" + "audienceId": "aud111" }, { "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab/events", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab/events", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Onplc3J4ZHRoZmNqZzM0NXlydWlreWhudGJncmFmdmQ=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -357,7 +357,7 @@ "FORM": {} }, "files": {}, - "audienceId": "df42a82d07" + "audienceId": "aud111" }, { "error": "Email is required for track" @@ -369,10 +369,10 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab/events", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab/events", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Onplc3J4ZHRoZmNqZzM0NXlydWlreWhudGJncmFmdmQ=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -385,16 +385,16 @@ "FORM": {} }, "files": {}, - "audienceId": "df42a82d07" + "audienceId": "aud111" }, { "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab/events", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab/events", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Onplc3J4ZHRoZmNqZzM0NXlydWlreWhudGJncmFmdmQ=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -414,6 +414,6 @@ "FORM": {} }, "files": {}, - "audienceId": "df42a82d07" + "audienceId": "aud111" } ] diff --git a/test/__tests__/data/mailchimp_router_input.json b/test/__tests__/data/mailchimp_router_input.json index 71b5e8b4fd..e3cdbdddf5 100644 --- a/test/__tests__/data/mailchimp_router_input.json +++ b/test/__tests__/data/mailchimp_router_input.json @@ -9,9 +9,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -75,9 +75,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -141,9 +141,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -207,9 +207,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -252,9 +252,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -297,9 +297,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, diff --git a/test/__tests__/data/mailchimp_router_output.json b/test/__tests__/data/mailchimp_router_output.json index 5aa4c9f8c7..3a3eec40a9 100644 --- a/test/__tests__/data/mailchimp_router_output.json +++ b/test/__tests__/data/mailchimp_router_output.json @@ -4,10 +4,10 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07?skip_merge_validation=true&skip_duplicate_check=false", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111?skip_merge_validation=true&skip_duplicate_check=false", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Ojk0ZjcxOTE3ZDg1MjI3NzBjOTc0NDliMGM5MGNhYTRjLXVzMjA=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -57,9 +57,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -71,10 +71,10 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab/events", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab/events", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Ojk0ZjcxOTE3ZDg1MjI3NzBjOTc0NDliMGM5MGNhYTRjLXVzMjA=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -91,7 +91,7 @@ "FORM": {} }, "files": {}, - "audienceId": "df42a82d07" + "audienceId": "aud111" }, "metadata": [ { @@ -109,9 +109,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -123,10 +123,10 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://us20.api.mailchimp.com/3.0/lists/df42a82d07/members/48cd6232dc124497369f59c33d3eb4ab/events", + "endpoint": "https://usXX.api.mailchimp.com/3.0/lists/aud111/members/48cd6232dc124497369f59c33d3eb4ab/events", "headers": { "Content-Type": "application/json", - "Authorization": "Basic YXBpS2V5Ojk0ZjcxOTE3ZDg1MjI3NzBjOTc0NDliMGM5MGNhYTRjLXVzMjA=" + "Authorization": "Basic YXBpS2V5OmFwaWtleQ==" }, "params": {}, "body": { @@ -146,7 +146,7 @@ "FORM": {} }, "files": {}, - "audienceId": "df42a82d07" + "audienceId": "aud111" }, "metadata": [ { @@ -164,9 +164,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -183,9 +183,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, @@ -214,9 +214,9 @@ "DisplayName": "MailChimp" }, "Config": { - "apiKey": "94f71917d8522770c97449b0c90caa4c-us20", - "audienceId": "df42a82d07", - "datacenterId": "us20", + "apiKey": "apikey", + "audienceId": "aud111", + "datacenterId": "usXX", "enableMergeFields": true }, "Enabled": true, diff --git a/test/__tests__/data/sendgrid.json b/test/__tests__/data/sendgrid.json index 406c977341..79c3457d32 100644 --- a/test/__tests__/data/sendgrid.json +++ b/test/__tests__/data/sendgrid.json @@ -5,7 +5,7 @@ "destination": { "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -33,7 +33,7 @@ "group": "", "groupsToDisplay": [{ "groupId": "" }], "html": "", - "listId": "737ae8d4-25b4-496e-adff-2fded15fd0c6", + "listId": "list111", "mailFromTraits": false, "openTracking": false, "openTrackingSubstitutionTag": "", @@ -72,7 +72,7 @@ "destination": { "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -100,7 +100,7 @@ "group": "", "groupsToDisplay": [{ "groupId": "" }], "html": "", - "listId": "737ae8d4-25b4-496e-adff-2fded15fd0c6", + "listId": "list111", "mailFromTraits": false, "openTracking": false, "openTrackingSubstitutionTag": "", @@ -142,7 +142,7 @@ "phone_number": "+91 9557645345", "custom_fields": {} }, - "contactListIds": "737ae8d4-25b4-496e-adff-2fded15fd0c6" + "contactListIds": "list111" }, "JSON_ARRAY": {} }, @@ -152,7 +152,7 @@ "params": {}, "headers": { "Content-Type": "application/json", - "Authorization": "Bearer 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" + "Authorization": "Bearer apikey" }, "version": "1", "endpoint": "https://api.sendgrid.com/v3/marketing/contacts" @@ -165,7 +165,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -249,7 +249,7 @@ "params": {}, "headers": { "Content-Type": "application/json", - "Authorization": "Bearer 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" + "Authorization": "Bearer apikey" }, "version": "1", "endpoint": "https://api.sendgrid.com/v3/marketing/contacts" @@ -260,7 +260,7 @@ "input": { "destination": { "Config": { - "apiKey": "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", + "apiKey": "apikey", "eventNamesSettings": [{ "event": "testing" }, { "event": "clicked" }], "subject": "A sample subject", "replyToEmail": "ankit@rudderstack.com", @@ -334,7 +334,7 @@ "method": "POST", "endpoint": "https://api.sendgrid.com/v3/mail/send", "headers": { - "Authorization": "Bearer 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", + "Authorization": "Bearer apikey", "Content-Type": "application/json" }, "params": {}, @@ -374,7 +374,7 @@ "input": { "destination": { "Config": { - "apiKey": "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", + "apiKey": "apikey", "eventNamesSettings": [{ "event": "testing" }, { "event": "clicked" }], "subject": "A sample subject", "replyToEmail": "ankit@rudderstack.com", @@ -450,7 +450,7 @@ "method": "POST", "endpoint": "https://api.sendgrid.com/v3/mail/send", "headers": { - "Authorization": "Bearer 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", + "Authorization": "Bearer apikey", "Content-Type": "application/json" }, "params": {}, @@ -490,7 +490,7 @@ "input": { "destination": { "Config": { - "apiKey": "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", + "apiKey": "apikey", "eventNamesSettings": [{ "event": "testing" }, { "event": "clicked" }], "subject": "A sample subject", "replyToEmail": "ankit@rudderstack.com", @@ -568,7 +568,7 @@ "method": "POST", "endpoint": "https://api.sendgrid.com/v3/mail/send", "headers": { - "Authorization": "Bearer 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", + "Authorization": "Bearer apikey", "Content-Type": "application/json" }, "params": {}, @@ -612,7 +612,7 @@ "input": { "destination": { "Config": { - "apiKey": "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", + "apiKey": "apikey", "eventNamesSettings": [{ "event": "testing" }, { "event": "clicked" }], "subject": "A sample subject", "replyToEmail": "ankit@rudderstack.com", @@ -693,7 +693,7 @@ "input": { "destination": { "Config": { - "apiKey": "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", + "apiKey": "apikey", "eventNamesSettings": [{ "event": "testing" }, { "event": "clicked" }], "subject": "A sample subject", "replyToEmail": "ankit@rudderstack.com", @@ -777,7 +777,7 @@ "method": "POST", "endpoint": "https://api.sendgrid.com/v3/mail/send", "headers": { - "Authorization": "Bearer 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", + "Authorization": "Bearer apikey", "Content-Type": "application/json" }, "params": {}, @@ -827,7 +827,7 @@ "input": { "destination": { "Config": { - "apiKey": "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", + "apiKey": "apikey", "eventNamesSettings": [{ "event": "testing" }, { "event": "clicked" }], "subject": "A sample subject", "replyToEmail": "ankit@rudderstack.com", @@ -914,7 +914,7 @@ "method": "POST", "endpoint": "https://api.sendgrid.com/v3/mail/send", "headers": { - "Authorization": "Bearer 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", + "Authorization": "Bearer apikey", "Content-Type": "application/json" }, "params": {}, @@ -964,7 +964,7 @@ "input": { "destination": { "Config": { - "apiKey": "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", + "apiKey": "apikey", "eventNamesSettings": [{ "event": "testing" }, { "event": "clicked" }], "subject": "A sample subject", "replyToEmail": "ankit@rudderstack.com", @@ -1055,7 +1055,7 @@ "method": "POST", "endpoint": "https://api.sendgrid.com/v3/mail/send", "headers": { - "Authorization": "Bearer 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", + "Authorization": "Bearer apikey", "Content-Type": "application/json" }, "params": {}, diff --git a/test/__tests__/data/sendgrid_batch.json b/test/__tests__/data/sendgrid_batch.json index 643565543b..0089bc4e0d 100644 --- a/test/__tests__/data/sendgrid_batch.json +++ b/test/__tests__/data/sendgrid_batch.json @@ -7,7 +7,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -80,7 +80,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -153,7 +153,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -227,7 +227,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -302,7 +302,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -368,7 +368,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -450,7 +450,7 @@ "endpoint": "https://api.sendgrid.com/v3/marketing/contacts", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer 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" + "Authorization": "Bearer apikey" }, "params": {}, "body": { @@ -480,7 +480,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -531,7 +531,7 @@ "endpoint": "https://api.sendgrid.com/v3/marketing/contacts", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer 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" + "Authorization": "Bearer apikey" }, "params": {}, "body": { @@ -560,7 +560,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -611,7 +611,7 @@ "endpoint": "https://api.sendgrid.com/v3/marketing/contacts", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer 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" + "Authorization": "Bearer apikey" }, "params": {}, "body": { @@ -643,7 +643,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -694,7 +694,7 @@ "endpoint": "https://api.sendgrid.com/v3/marketing/contacts", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer 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" + "Authorization": "Bearer apikey" }, "params": {}, "body": { @@ -727,7 +727,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -778,7 +778,7 @@ "endpoint": "https://api.sendgrid.com/v3/marketing/contacts", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer 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" + "Authorization": "Bearer apikey" }, "params": {}, "body": { @@ -807,7 +807,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", @@ -858,7 +858,7 @@ "endpoint": "https://api.sendgrid.com/v3/marketing/contacts", "headers": { "Content-Type": "application/json", - "Authorization": "Bearer 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" + "Authorization": "Bearer apikey" }, "params": {}, "body": { @@ -893,7 +893,7 @@ "ID": "2HOQOO6wWKaKjeQrEABXgiH6cmU", "Config": { "IPPoolName": "", - "apiKey": "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", + "apiKey": "apikey", "attachments": [ { "content": "", diff --git a/test/__tests__/data/sendgrid_router.json b/test/__tests__/data/sendgrid_router.json index 7523c008dc..00757ad513 100644 --- a/test/__tests__/data/sendgrid_router.json +++ b/test/__tests__/data/sendgrid_router.json @@ -5,7 +5,7 @@ { "destination": { "Config": { - "apiKey": "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", + "apiKey": "apikey", "eventNamesSettings": [{ "event": "testing" }, { "event": "clicked" }], "subject": "A sample subject", "replyToEmail": "ankit@rudderstack.com", @@ -111,7 +111,7 @@ "method": "POST", "params": {}, "headers": { - "Authorization": "Bearer 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", + "Authorization": "Bearer apikey", "Content-Type": "application/json" }, "version": "1", @@ -126,7 +126,7 @@ "statusCode": 200, "destination": { "Config": { - "apiKey": "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", + "apiKey": "apikey", "eventNamesSettings": [{ "event": "testing" }, { "event": "clicked" }], "subject": "A sample subject", "replyToEmail": "ankit@rudderstack.com", diff --git a/test/__tests__/data/slack_input.json b/test/__tests__/data/slack_input.json index f992f6e521..4e6195a37d 100644 --- a/test/__tests__/data/slack_input.json +++ b/test/__tests__/data/slack_input.json @@ -28,7 +28,7 @@ { "eventName": "", "eventRegex": false, "eventTemplate": "" } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [{ "trait": "hiji" }, { "trait": "" }] }, "Enabled": true, @@ -122,7 +122,7 @@ { "eventName": "", "eventRegex": false, "eventTemplate": "" } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [{ "trait": "hiji" }, { "trait": "" }] }, "Enabled": true, @@ -215,7 +215,7 @@ { "eventName": "", "eventRegex": false, "eventTemplate": "" } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [{ "trait": "hiji" }, { "trait": "" }] }, "Enabled": true, @@ -311,7 +311,7 @@ { "eventName": "", "eventRegex": false, "eventTemplate": "" } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [{ "trait": "hiji" }, { "trait": "" }] }, "Enabled": true, @@ -422,7 +422,7 @@ } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [ { "trait": "hiji" @@ -531,7 +531,7 @@ { "eventName": "", "eventRegex": false, "eventTemplate": "" } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [{ "trait": "hiji" }, { "trait": "" }] }, "Enabled": true, @@ -626,7 +626,7 @@ { "eventName": "", "eventRegex": false, "eventTemplate": "" } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [{ "trait": "hiji" }, { "trait": "" }] }, "Enabled": true, diff --git a/test/__tests__/data/slack_output.json b/test/__tests__/data/slack_output.json index 8f94b24d7b..5c8495c757 100644 --- a/test/__tests__/data/slack_output.json +++ b/test/__tests__/data/slack_output.json @@ -6,7 +6,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://hooks.slack.com/services/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", + "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "headers": { "Content-Type": "application/x-www-form-urlencoded" }, "params": {}, "body": { @@ -25,7 +25,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://hooks.slack.com/services/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", + "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "headers": { "Content-Type": "application/x-www-form-urlencoded" }, "params": {}, "body": { @@ -44,7 +44,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://hooks.slack.com/services/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", + "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "headers": { "Content-Type": "application/x-www-form-urlencoded" }, "params": {}, "body": { diff --git a/test/__tests__/data/slack_router_input.json b/test/__tests__/data/slack_router_input.json index 931738d47f..f2bf20466d 100644 --- a/test/__tests__/data/slack_router_input.json +++ b/test/__tests__/data/slack_router_input.json @@ -43,7 +43,7 @@ } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [ { "trait": "hiji" @@ -166,7 +166,7 @@ } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [ { "trait": "hiji" diff --git a/test/__tests__/data/slack_router_output.json b/test/__tests__/data/slack_router_output.json index f4703bf075..6b1658b5e0 100644 --- a/test/__tests__/data/slack_router_output.json +++ b/test/__tests__/data/slack_router_output.json @@ -43,7 +43,7 @@ } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [ { "trait": "hiji" @@ -81,7 +81,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://hooks.slack.com/services/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", + "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "headers": { "Content-Type": "application/x-www-form-urlencoded" }, @@ -154,7 +154,7 @@ } ], "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/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", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", "whitelistedTraitsSettings": [ { "trait": "hiji" From 098f2b18eff029e483df906b1820cab6ef0d7189 Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com> Date: Sun, 26 Mar 2023 20:49:16 +0530 Subject: [PATCH 02/17] chore: optimized github actions (#1994) * fix: buid arguments * fix: order of docker build steps * chore: update .dockerignore file * chore: fix .dockerignore file * chore: implement actions cache * chore: speed up builds * fix: remove shards for tests * fix: github release script * chore: implement cache for all workflows * chore: skip building PR images for main to develop sync PRs * fix: type in prod rollback action --- .dockerignore | 18 ++-- .github/workflows/build-pr-artifacts.yml | 83 +++++++++++++------ .github/workflows/draft-new-release.yml | 2 +- .github/workflows/prepare-for-dev-deploy.yml | 8 +- .github/workflows/prepare-for-prod-deploy.yml | 68 +++++++++++---- .../workflows/prepare-for-prod-rollback.yml | 4 +- .../workflows/prepare-for-staging-deploy.yml | 70 +++++++++++----- .github/workflows/publish-new-release.yml | 2 +- Dockerfile | 1 - package.json | 4 +- 10 files changed, 178 insertions(+), 82 deletions(-) diff --git a/.dockerignore b/.dockerignore index babef583ea..3fe848899b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,9 +1,9 @@ -node_modules -npm-debug.log -Dockerfile -.dockerignore -.git -.gitignore -docker-compose.yml -buildspec.yml -appspec.yml +* +!src +!features.json +!Makefile +!jest*.js +!benchmark +!package*.json +# to be removed later +!test diff --git a/.github/workflows/build-pr-artifacts.yml b/.github/workflows/build-pr-artifacts.yml index 6be3f6d7c5..3b5ba20eb4 100644 --- a/.github/workflows/build-pr-artifacts.yml +++ b/.github/workflows/build-pr-artifacts.yml @@ -33,21 +33,33 @@ jobs: env: TAG_NAME: ${{ needs.generate-tag-name.outputs.tag_name }} - # Skip for the release pull requests - if: startsWith(github.event.pull_request.head.ref, 'release/') != true && startsWith(github.event.pull_request.head.ref, 'hotfix-release/') != true + # Skip for the release pull requests as staging artifacts will be generated + # Skip main to develop sync pull requests + if: startsWith(github.event.pull_request.head.ref, 'release/') != true && startsWith(github.event.pull_request.head.ref, 'hotfix-release/') != true && github.event.pull_request.head.ref != 'main' steps: - name: Checkout uses: actions/checkout@v3.4.0 with: fetch-depth: 1 + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v2.5.0 + - name: Login to DockerHub uses: docker/login-action@v2.1.0 with: username: ${{ env.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PROD_TOKEN }} - - name: Build Docker Image + - name: Cache Docker Layers + uses: actions/cache@v3.2.1 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + + - name: Build Docker Image for Tests uses: docker/build-push-action@v4.0.0 with: context: . @@ -55,18 +67,13 @@ jobs: load: true tags: | ${{ env.REPO_NAME }}:${{ env.TAG_NAME }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - name: Run Tests run: | docker run ${{ env.REPO_NAME }}:${{ env.TAG_NAME }} npm run test:ci - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2.5.0 - with: - platforms: | - linux/amd64 - linux/arm64 - - name: Build and Push Multi-platform Images uses: docker/build-push-action@v4.0.0 with: @@ -79,9 +86,19 @@ jobs: linux/amd64 linux/arm64 build-args: | - VERSION=${{ env.TAG_NAME }} - COMMIT_HASH=${{ github.sha }} - + version=${{ env.TAG_NAME }} + GIT_COMMIT_SHA=${{ github.sha }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max + + # Temp fix + # https://github.com/docker/build-push-action/issues/252 + # https://github.com/moby/buildkit/issues/1896 + - name: Move Cache + run: | + rm -rf /tmp/.buildx-cache + mv /tmp/.buildx-cache-new /tmp/.buildx-cache + build-user-transformer-image: name: Build User Transformer Docker Image - PR runs-on: ubuntu-latest @@ -89,21 +106,32 @@ jobs: env: TAG_NAME: ${{ needs.generate-tag-name.outputs.tag_name }} - # Skip for the release pull requests - if: startsWith(github.event.pull_request.head.ref, 'release/') != true && startsWith(github.event.pull_request.head.ref, 'hotfix-release/') != true + # Skip for the release pull requests as staging artifacts will be generated + if: startsWith(github.event.pull_request.head.ref, 'release/') != true && startsWith(github.event.pull_request.head.ref, 'hotfix-release/') != true && github.event.pull_request.head.ref != 'main' steps: - name: Checkout uses: actions/checkout@v3.4.0 with: fetch-depth: 1 + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v2.5.0 + - name: Login to DockerHub uses: docker/login-action@v2.1.0 with: username: ${{ env.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PROD_TOKEN }} - - name: Build Docker Image + - name: Cache Docker Layers + uses: actions/cache@v3.2.1 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + + - name: Build Docker Image for Tests uses: docker/build-push-action@v4.0.0 with: context: . @@ -111,18 +139,13 @@ jobs: load: true tags: | ${{ env.REPO_NAME }}:${{ env.TAG_NAME }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - name: Run Tests run: | docker run ${{ env.REPO_NAME }}:${{ env.TAG_NAME }} npm run test:ci - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2.5.0 - with: - platforms: | - linux/amd64 - linux/arm64 - - name: Build and Push Multi-platform Images uses: docker/build-push-action@v4.0.0 with: @@ -136,5 +159,15 @@ jobs: linux/amd64 linux/arm64 build-args: | - VERSION=${{ env.TAG_NAME }} - COMMIT_HASH=${{ github.sha }} + version=${{ env.TAG_NAME }} + GIT_COMMIT_SHA=${{ github.sha }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max + + # Temp fix + # https://github.com/docker/build-push-action/issues/252 + # https://github.com/moby/buildkit/issues/1896 + - name: Move Cache + run: | + rm -rf /tmp/.buildx-cache + mv /tmp/.buildx-cache-new /tmp/.buildx-cache diff --git a/.github/workflows/draft-new-release.yml b/.github/workflows/draft-new-release.yml index 6b266909ef..9adb188c0e 100644 --- a/.github/workflows/draft-new-release.yml +++ b/.github/workflows/draft-new-release.yml @@ -45,7 +45,7 @@ jobs: new_version=$(jq -r .version package.json) git reset --hard - branch_name="${release_type}/${new_version}" + branch_name="${release_type}/v${new_version}" echo "Source branch for new release is $source_branch_name" echo "Current version is $current_version" diff --git a/.github/workflows/prepare-for-dev-deploy.yml b/.github/workflows/prepare-for-dev-deploy.yml index e2d222c565..86833538e7 100644 --- a/.github/workflows/prepare-for-dev-deploy.yml +++ b/.github/workflows/prepare-for-dev-deploy.yml @@ -78,8 +78,8 @@ jobs: linux/amd64 linux/arm64 build-args: | - VERSION=${{ steps.gen_tag_name.outputs.tag_name }} - COMMIT_HASH=${{ github.sha }} + version=${{ steps.gen_tag_name.outputs.tag_name }} + GIT_COMMIT_SHA=${{ github.sha }} build-user-transformer-image: name: Build User Transformer Docker Image - Dev @@ -139,6 +139,6 @@ jobs: linux/amd64 linux/arm64 build-args: | - VERSION=${{ steps.gen_tag_name.outputs.tag_name }} - COMMIT_HASH=${{ github.sha }} + version=${{ steps.gen_tag_name.outputs.tag_name }} + GIT_COMMIT_SHA=${{ github.sha }} diff --git a/.github/workflows/prepare-for-prod-deploy.yml b/.github/workflows/prepare-for-prod-deploy.yml index 577aa948e5..217b7b0ceb 100644 --- a/.github/workflows/prepare-for-prod-deploy.yml +++ b/.github/workflows/prepare-for-prod-deploy.yml @@ -40,12 +40,23 @@ jobs: echo $tag_name echo "tag_name=$tag_name" >> $GITHUB_OUTPUT + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v2.5.0 + - name: Login to DockerHub uses: docker/login-action@v2.1.0 with: username: ${{ env.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PROD_TOKEN }} + - name: Cache Docker Layers + uses: actions/cache@v3.2.1 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Build Docker Image uses: docker/build-push-action@v4.0.0 with: @@ -54,18 +65,13 @@ jobs: load: true tags: | ${{ env.REPO_NAME }}:${{ steps.gen_tag_name.outputs.tag_name }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - name: Run Tests run: | docker run ${{ env.REPO_NAME }}:${{ steps.gen_tag_name.outputs.tag_name }} npm run test:ci - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2.5.0 - with: - platforms: | - linux/amd64 - linux/arm64 - - name: Build and Push Multi-platform Images uses: docker/build-push-action@v4.0.0 with: @@ -81,8 +87,18 @@ jobs: linux/amd64 linux/arm64 build-args: | - VERSION=${{ steps.gen_tag_name.outputs.tag_name }} - COMMIT_HASH=${{ github.sha }} + version=${{ steps.gen_tag_name.outputs.tag_name }} + GIT_COMMIT_SHA=${{ github.sha }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max + + # Temp fix + # https://github.com/docker/build-push-action/issues/252 + # https://github.com/moby/buildkit/issues/1896 + - name: Move Cache + run: | + rm -rf /tmp/.buildx-cache + mv /tmp/.buildx-cache-new /tmp/.buildx-cache build-user-transformer-image: name: Build User Transformer Docker Image - Prod @@ -104,12 +120,23 @@ jobs: echo $tag_name echo "tag_name=$tag_name" >> $GITHUB_OUTPUT + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v2.5.0 + - name: Login to DockerHub uses: docker/login-action@v2.1.0 with: username: ${{ env.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PROD_TOKEN }} + - name: Cache Docker Layers + uses: actions/cache@v3.2.1 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Build Docker Image uses: docker/build-push-action@v4.0.0 with: @@ -118,18 +145,13 @@ jobs: load: true tags: | ${{ env.REPO_NAME }}:${{ steps.gen_tag_name.outputs.tag_name }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - name: Run Tests run: | docker run ${{ env.REPO_NAME }}:${{ steps.gen_tag_name.outputs.tag_name }} npm run test:ci - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2.5.0 - with: - platforms: | - linux/amd64 - linux/arm64 - - name: Build and Push Multi-platform Images uses: docker/build-push-action@v4.0.0 with: @@ -145,8 +167,18 @@ jobs: linux/amd64 linux/arm64 build-args: | - VERSION=${{ steps.gen_tag_name.outputs.tag_name }} - COMMIT_HASH=${{ github.sha }} + version=${{ steps.gen_tag_name.outputs.tag_name }} + GIT_COMMIT_SHA=${{ github.sha }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max + + # Temp fix + # https://github.com/docker/build-push-action/issues/252 + # https://github.com/moby/buildkit/issues/1896 + - name: Move Cache + run: | + rm -rf /tmp/.buildx-cache + mv /tmp/.buildx-cache-new /tmp/.buildx-cache create-pull-request: name: Update Helm Charts For Production and Create Pull Request diff --git a/.github/workflows/prepare-for-prod-rollback.yml b/.github/workflows/prepare-for-prod-rollback.yml index fbc2ac8820..07f83fd346 100644 --- a/.github/workflows/prepare-for-prod-rollback.yml +++ b/.github/workflows/prepare-for-prod-rollback.yml @@ -43,8 +43,8 @@ jobs: git add values.enterprise.yaml yq eval -i ".rudder-transformer.image.tag=\"${{ steps.target-version.outputs.tag_name }}\"" values.multi-tenant.yaml - yq eval -i ".user-transformer.image.tag=\"${{ steps.target-version.outputs.tag_name }}\"" values.enterprise.yaml - git add values.enterprise.yaml + yq eval -i ".user-transformer.image.tag=\"${{ steps.target-version.outputs.tag_name }}\"" values.multi-tenant.yaml + git add values.multi-tenant.yaml cd ../../config-be-rudder-transformer yq eval -i ".config-be-rudder-transformer.image.tag=\"${{ steps.target-version.outputs.tag_name }}\"" values.prod.yaml diff --git a/.github/workflows/prepare-for-staging-deploy.yml b/.github/workflows/prepare-for-staging-deploy.yml index 9be25f4829..0a6f274d52 100644 --- a/.github/workflows/prepare-for-staging-deploy.yml +++ b/.github/workflows/prepare-for-staging-deploy.yml @@ -36,12 +36,23 @@ jobs: echo $tag_name echo "tag_name=$tag_name" >> $GITHUB_OUTPUT + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v2.5.0 + - name: Login to DockerHub uses: docker/login-action@v2.1.0 with: username: ${{ env.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PROD_TOKEN }} + - name: Cache Docker Layers + uses: actions/cache@v3.2.1 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Build Docker Image uses: docker/build-push-action@v4.0.0 with: @@ -50,20 +61,15 @@ jobs: load: true tags: | ${{ env.REPO_NAME }}:${{ steps.gen_tag_name.outputs.tag_name }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - name: Run Tests run: | docker run ${{ env.REPO_NAME }}:${{ steps.gen_tag_name.outputs.tag_name }} npm run test:ci - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2.5.0 - with: - platforms: | - linux/amd64 - linux/arm64 - - name: Build and Push Multi-platform Images - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v4.0.0 with: context: . file: Dockerfile @@ -75,8 +81,18 @@ jobs: linux/amd64 linux/arm64 build-args: | - VERSION=${{ steps.gen_tag_name.outputs.tag_name }} - COMMIT_HASH=${{ github.sha }} + version=${{ steps.gen_tag_name.outputs.tag_name }} + GIT_COMMIT_SHA=${{ github.sha }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max + + # Temp fix + # https://github.com/docker/build-push-action/issues/252 + # https://github.com/moby/buildkit/issues/1896 + - name: Move Cache + run: | + rm -rf /tmp/.buildx-cache + mv /tmp/.buildx-cache-new /tmp/.buildx-cache build-user-transformer-image: name: Build User Transformer Docker Image - Staging @@ -99,12 +115,23 @@ jobs: echo $tag_name echo "tag_name=$tag_name" >> $GITHUB_OUTPUT + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v2.5.0 + - name: Login to DockerHub uses: docker/login-action@v2.1.0 with: username: ${{ env.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PROD_TOKEN }} + - name: Cache Docker Layers + uses: actions/cache@v3.2.1 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Build Docker Image uses: docker/build-push-action@v4.0.0 with: @@ -113,18 +140,13 @@ jobs: load: true tags: | ${{ env.REPO_NAME }}:${{ steps.gen_tag_name.outputs.tag_name }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - name: Run Tests run: | docker run ${{ env.REPO_NAME }}:${{ steps.gen_tag_name.outputs.tag_name }} npm run test:ci - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2.5.0 - with: - platforms: | - linux/amd64 - linux/arm64 - - name: Build and Push Multi-platform Images uses: docker/build-push-action@v4.0.0 with: @@ -138,8 +160,18 @@ jobs: linux/amd64 linux/arm64 build-args: | - VERSION=${{ steps.gen_tag_name.outputs.tag_name }} - COMMIT_HASH=${{ github.sha }} + version=${{ steps.gen_tag_name.outputs.tag_name }} + GIT_COMMIT_SHA=${{ github.sha }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max + + # Temp fix + # https://github.com/docker/build-push-action/issues/252 + # https://github.com/moby/buildkit/issues/1896 + - name: Move Cache + run: | + rm -rf /tmp/.buildx-cache + mv /tmp/.buildx-cache-new /tmp/.buildx-cache create-pull-request: name: Update Helm Charts For Staging and Create Pull Request diff --git a/.github/workflows/publish-new-release.yml b/.github/workflows/publish-new-release.yml index 263e40d1bd..cc428a8849 100644 --- a/.github/workflows/publish-new-release.yml +++ b/.github/workflows/publish-new-release.yml @@ -20,7 +20,7 @@ jobs: run: | branch_name="${{ github.event.pull_request.head.ref }}" version=${branch_name#hotfix-} - version=${version#release/} + version=${version#release/v} echo "release_version=$version" >> $GITHUB_OUTPUT diff --git a/Dockerfile b/Dockerfile index f5f2bb3ce0..7c5fd9f9dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,5 +36,4 @@ HEALTHCHECK --interval=1s --timeout=30s --retries=30 \ CMD [ "npm", "start" ] - EXPOSE 9090/tcp diff --git a/package.json b/package.json index 4f9bf01815..658e4b6488 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "verify": "eslint . || exit 1; npm run test || exit 1", "test:testRouter": "jest testRouter --detectOpenHandles --coverage --notify --watchAll=false", "test": "jest --detectOpenHandles --coverage --notify --watchAll=false", - "test:ci": "jest --detectOpenHandles --coverage --notify --expand --silent --watchAll=false", + "test:ci": "jest --detectOpenHandles --coverage --notify --expand --silent --watchAll=false --maxWorkers=2", "test:silent": "npm run test -- --silent", "test:benchmark": "node benchmark/index.js", "test:integration": "jest -c jest.config.integration.js", @@ -35,7 +35,7 @@ "commit-msg": "commitlint --edit", "prepare": "husky install", "release": "npx standard-version", - "release:github": "DEBUG=conventional-github-releaser npx conventional-github-releaser -r 0 -p angular --config github-release.config.js" + "release:github": "DEBUG=conventional-github-releaser npx conventional-github-releaser -p angular --config github-release.config.js" }, "dependencies": { "@amplitude/ua-parser-js": "0.7.24", From 82402242a1ffe9ccc75671023cff1ebbbcb390e6 Mon Sep 17 00:00:00 2001 From: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Date: Mon, 27 Mar 2023 11:30:29 +0530 Subject: [PATCH 03/17] fix(snapchat_conversion): price calculation (#1988) * fix(snapchat_conversion): price calculation * fix: price calculation * feat: change price field mapping order --- .../data/CheckoutStartedConfig.json | 5 + .../data/OrderCompletedConfig.json | 5 + .../data/ProductListViewedConfig.json | 5 + .../snapchat_conversion/transform.js | 6 +- .../destinations/snapchat_conversion/util.js | 7 +- test/__tests__/data/snapchat_conversion.json | 239 +++++++++++++++++- 6 files changed, 254 insertions(+), 13 deletions(-) diff --git a/src/v0/destinations/snapchat_conversion/data/CheckoutStartedConfig.json b/src/v0/destinations/snapchat_conversion/data/CheckoutStartedConfig.json index 4db78a54a7..d9bbb86ca0 100644 --- a/src/v0/destinations/snapchat_conversion/data/CheckoutStartedConfig.json +++ b/src/v0/destinations/snapchat_conversion/data/CheckoutStartedConfig.json @@ -28,5 +28,10 @@ "destKey": "client_dedup_id", "sourceKeys": "properties.client_dedup_id", "required": false + }, + { + "destKey": "price", + "sourceKeys": ["properties.price", "properties.value", "properties.revenue"], + "required": false } ] diff --git a/src/v0/destinations/snapchat_conversion/data/OrderCompletedConfig.json b/src/v0/destinations/snapchat_conversion/data/OrderCompletedConfig.json index 02546ebc9b..f3af283384 100644 --- a/src/v0/destinations/snapchat_conversion/data/OrderCompletedConfig.json +++ b/src/v0/destinations/snapchat_conversion/data/OrderCompletedConfig.json @@ -23,5 +23,10 @@ "destKey": "client_dedup_id", "sourceKeys": "properties.client_dedup_id", "required": false + }, + { + "destKey": "price", + "sourceKeys": ["properties.price", "properties.value", "properties.revenue"], + "required": false } ] diff --git a/src/v0/destinations/snapchat_conversion/data/ProductListViewedConfig.json b/src/v0/destinations/snapchat_conversion/data/ProductListViewedConfig.json index a5540a3de3..0e02762e72 100644 --- a/src/v0/destinations/snapchat_conversion/data/ProductListViewedConfig.json +++ b/src/v0/destinations/snapchat_conversion/data/ProductListViewedConfig.json @@ -33,5 +33,10 @@ "destKey": "client_dedup_id", "sourceKeys": "properties.client_dedup_id", "required": false + }, + { + "destKey": "price", + "sourceKeys": ["properties.price", "properties.value", "properties.revenue"], + "required": false } ] diff --git a/src/v0/destinations/snapchat_conversion/transform.js b/src/v0/destinations/snapchat_conversion/transform.js index 962570a7dc..b48ab492f2 100644 --- a/src/v0/destinations/snapchat_conversion/transform.js +++ b/src/v0/destinations/snapchat_conversion/transform.js @@ -78,7 +78,7 @@ function trackResponseBuilder(message, { Config }, mappedEvent) { payload = constructPayload(message, mappingConfig[ConfigCategory.PRODUCT_LIST_VIEWED.name]); payload.event_type = eventNameMapping[event.toLowerCase()]; payload.item_ids = getItemIds(message); - payload.price = getPriceSum(message); + payload.price = payload.price || getPriceSum(message); break; /* Promotions Section */ case 'promotion_viewed': @@ -98,7 +98,7 @@ function trackResponseBuilder(message, { Config }, mappedEvent) { payload = constructPayload(message, mappingConfig[ConfigCategory.CHECKOUT_STARTED.name]); payload.event_type = eventNameMapping[event.toLowerCase()]; payload.item_ids = getItemIds(message); - payload.price = getPriceSum(message); + payload.price = payload.price || getPriceSum(message); break; case 'payment_info_entered': payload = constructPayload( @@ -111,7 +111,7 @@ function trackResponseBuilder(message, { Config }, mappedEvent) { payload = constructPayload(message, mappingConfig[ConfigCategory.ORDER_COMPLETED.name]); payload.event_type = eventNameMapping[event.toLowerCase()]; payload.item_ids = getItemIds(message); - payload.price = getPriceSum(message); + payload.price = payload.price || getPriceSum(message); break; case 'product_added': payload = constructPayload(message, mappingConfig[ConfigCategory.PRODUCT_ADDED.name]); diff --git a/src/v0/destinations/snapchat_conversion/util.js b/src/v0/destinations/snapchat_conversion/util.js index 875097493c..99df37b673 100644 --- a/src/v0/destinations/snapchat_conversion/util.js +++ b/src/v0/destinations/snapchat_conversion/util.js @@ -95,9 +95,10 @@ function getPriceSum(message) { const products = get(message, 'properties.products'); if (products && Array.isArray(products)) { products.forEach((element) => { - const pPrice = element.price; - if (pPrice && !Number.isNaN(parseFloat(pPrice))) { - priceSum += parseFloat(pPrice); + const { price } = element; + const { quantity = 1 } = element; + if (price && !Number.isNaN(parseFloat(price)) && !Number.isNaN(parseInt(quantity, 10))) { + priceSum += parseFloat(price) * parseInt(quantity, 10); } }); } else { diff --git a/test/__tests__/data/snapchat_conversion.json b/test/__tests__/data/snapchat_conversion.json index 4ef86529c3..407f7b0925 100644 --- a/test/__tests__/data/snapchat_conversion.json +++ b/test/__tests__/data/snapchat_conversion.json @@ -699,7 +699,8 @@ }, { "product_id": "123", - "price": 14 + "price": 14, + "quantity": 3 } ] }, @@ -731,7 +732,7 @@ "JSON": { "event_type": "VIEW_CONTENT", "item_ids": ["123", "123"], - "price": "28", + "price": "56", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", "hashed_mobile_ad_id": "f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2", @@ -807,7 +808,8 @@ }, { "product_id": "123", - "price": 14 + "price": 14, + "quantity": "2" } ] }, @@ -839,7 +841,7 @@ "JSON": { "event_type": "START_CHECKOUT", "item_ids": ["123", "123"], - "price": "28", + "price": "42", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", "hashed_mobile_ad_id": "f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2", @@ -911,11 +913,13 @@ "products": [ { "product_id": "123", - "price": "14" + "price": "14", + "quantity": 1 }, { "product_id": "123", - "price": 14 + "price": 14, + "quantity": 3 } ] }, @@ -947,7 +951,7 @@ "JSON": { "event_type": "PURCHASE", "item_ids": ["123", "123"], - "price": "28", + "price": "56", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", "hashed_mobile_ad_id": "f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2", @@ -2560,5 +2564,226 @@ "files": {} } ] + }, + { + "description": "Mapping revenue to price for order completed event", + "input": { + "message": { + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2022-04-22T10:57:58Z", + "channel": "mobile", + "anonymousId": "ea5cfab2-3961-4d8a-8187-3d1858c99090", + "context": { + "traits": { + "email": "test@email.com", + "phone": "+91 2111111 " + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "device": { + "advertisingId": "T0T0T072-5e28-45a1-9eda-ce22a3e36d1a", + "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "manufacturer": "Google", + "model": "AOSP on IA Emulator", + "name": "generic_x86_arm", + "type": "ios", + "attTrackingStatus": 3 + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "locale": "en-US", + "os": { + "name": "iOS", + "version": "14.4.1" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "ga4AppInstanceId", + "id": "f0dd99v4f979fb997ce453373900f891" + } + ], + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36" + }, + "type": "track", + "event": "Order Completed", + "properties": { + "products": [ + { + "product_id": "123", + "price": "14", + "quantity": 1 + }, + { + "product_id": "123", + "price": 14, + "quantity": 3 + } + ], + "revenue": "100" + }, + "integrations": { + "All": true + }, + "sentAt": "2022-04-22T10:57:58Z" + }, + "destination": { + "Config": { + "apiKey": "eyJhbGciOiJIUzI1NiIsImtpZCI6IkNhbnZhc1MyU0hNQUNQcm9kIiwidHlwIjoiSldUIn0.", + "pixelId": "dihfnjrnerneknrenrjenjer", + "appId": "dhfeih44f", + "snapAppId": "hfhdhfd" + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://tr.snapchat.com/v2/conversion", + "headers": { + "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6IkNhbnZhc1MyU0hNQUNQcm9kIiwidHlwIjoiSldUIn0.", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event_type": "PURCHASE", + "item_ids": ["123", "123"], + "price": "100", + "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", + "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", + "hashed_mobile_ad_id": "f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2", + "hashed_idfv": "54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f", + "user_agent": "mozilla/5.0 (macintosh; intel mac os x 10_15_2) applewebkit/537.36 (khtml, like gecko) chrome/79.0.3945.88 safari/537.36", + "timestamp": "1650625078", + "event_conversion_type": "MOBILE_APP", + "snap_app_id": "hfhdhfd", + "app_id": "dhfeih44f" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "Mapping revenue to price for product list viewed event", + "input": { + "message": { + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2022-04-22T10:57:58Z", + "channel": "mobile", + "anonymousId": "ea5cfab2-3961-4d8a-8187-3d1858c99090", + "context": { + "traits": { + "email": "test@email.com", + "phone": "+91 2111111 " + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "device": { + "advertisingId": "T0T0T072-5e28-45a1-9eda-ce22a3e36d1a", + "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "manufacturer": "Google", + "model": "AOSP on IA Emulator", + "name": "generic_x86_arm", + "type": "ios", + "attTrackingStatus": 3 + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "locale": "en-US", + "os": { + "name": "iOS", + "version": "14.4.1" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "ga4AppInstanceId", + "id": "f0dd99v4f979fb997ce453373900f891" + } + ], + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36" + }, + "type": "track", + "event": "Product List Viewed", + "properties": { + "products": [ + { + "product_id": "123", + "price": "14" + }, + { + "product_id": "123", + "price": 14, + "quantity": 3 + } + ], + "revenue": "100" + }, + "integrations": { + "All": true + }, + "sentAt": "2022-04-22T10:57:58Z" + }, + "destination": { + "Config": { + "apiKey": "eyJhbGciOiJIUzI1NiIsImtpZCI6IkNhbnZhc1MyU0hNQUNQcm9kIiwidHlwIjoiSldUIn0.", + "pixelId": "dihfnjrnerneknrenrjenjer", + "appId": "dhfeih44f", + "snapAppId": "hfhdhfd" + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://tr.snapchat.com/v2/conversion", + "headers": { + "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6IkNhbnZhc1MyU0hNQUNQcm9kIiwidHlwIjoiSldUIn0.", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event_type": "VIEW_CONTENT", + "item_ids": ["123", "123"], + "price": "100", + "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", + "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", + "hashed_mobile_ad_id": "f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2", + "hashed_idfv": "54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f", + "user_agent": "mozilla/5.0 (macintosh; intel mac os x 10_15_2) applewebkit/537.36 (khtml, like gecko) chrome/79.0.3945.88 safari/537.36", + "timestamp": "1650625078", + "event_conversion_type": "MOBILE_APP", + "snap_app_id": "hfhdhfd", + "app_id": "dhfeih44f" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } } ] From 5d3f85ce5304534e15e6e3e89e7a8a705521e567 Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com> Date: Mon, 27 Mar 2023 12:54:34 +0530 Subject: [PATCH 04/17] chore: fix staging workflow (#2004) --- .../workflows/prepare-for-staging-deploy.yml | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/.github/workflows/prepare-for-staging-deploy.yml b/.github/workflows/prepare-for-staging-deploy.yml index 0a6f274d52..119620783d 100644 --- a/.github/workflows/prepare-for-staging-deploy.yml +++ b/.github/workflows/prepare-for-staging-deploy.yml @@ -198,35 +198,33 @@ jobs: echo "Transformer: $TAG_NAME" echo "User Transformer: $UT_TAG_NAME" - - name: Check Branch Exists - id: check-branch-exists + - name: Update Helm Charts and Raise Pull Request run: | + git clone https://${{secrets.PAT}}@github.com/rudderlabs/rudder-devops.git + cd rudder-devops BRANCH_NAME="shared-transformer-$TAG_NAME" - echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_OUTPUT + echo $BRANCH_NAME if [ `git ls-remote --heads origin $BRANCH_NAME 2>/dev/null` ] then - echo "BRANCH_EXISTS=\"1\"" >> $GITHUB_OUTPUT + echo "Staging deployment branch already exists!" else - echo "BRANCH_EXISTS=\"0\"" >> $GITHUB_OUTPUT + git checkout -b $BRANCH_NAME + + cd helm-charts/shared-services/per-az + yq eval -i ".rudder-transformer.image.tag=\"$TAG_NAME\"" values.staging.yaml + yq eval -i ".user-transformer.image.tag=\"$TAG_NAME\"" values.staging.yaml + git add values.staging.yaml + + cd ../../config-be-rudder-transformer + yq eval -i ".config-be-rudder-transformer.image.tag=\"$TAG_NAME\"" values.staging.yaml + yq eval -i ".config-be-user-transformer.image.tag=\"$TAG_NAME\"" values.staging.yaml + git add values.staging.yaml + + git commit -m "chore: upgrade staging env transformers to \"$TAG_NAME\"" + git push -u origin $BRANCH_NAME" + hub pull-request -m "chore: upgrade staging env transformers to \"$TAG_NAME\"" fi - - name: Update Helm Charts and Raise Pull Request - if: steps.check-branch-exists.outputs.BRANCH_EXISTS == '0' - run: | - git clone https://${{secrets.PAT}}@github.com/rudderlabs/rudder-devops.git - cd rudder-devops - git checkout -b $BRANCH_NAME - cd helm-charts/shared-services/per-az - yq eval -i ".rudder-transformer.image.tag=\"$TAG_NAME\"" values.staging.yaml - yq eval -i ".user-transformer.image.tag=\"$TAG_NAME\"" values.staging.yaml - git add values.staging.yaml - cd ../../config-be-rudder-transformer - yq eval -i ".config-be-rudder-transformer.image.tag=\"$TAG_NAME\"" values.staging.yaml - yq eval -i ".config-be-user-transformer.image.tag=\"$TAG_NAME\"" values.staging.yaml - git add values.staging.yaml - git commit -m "chore: upgrade staging env transformers to \"$TAG_NAME\"" - git push -u origin $BRANCH_NAME" - hub pull-request -m "chore: upgrade staging env transformers to \"$TAG_NAME\"" From 04406dacd9891024356c808a9a464e0d554c4657 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 27 Mar 2023 07:26:17 +0000 Subject: [PATCH 05/17] chore(release): 1.20.0 --- CHANGELOG.md | 467 ++++++++++++++++++++++++++++++++++++++++++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 469 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 001023c28b..50cb04e200 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,473 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.20.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.19.0...v1.20.0) (2023-03-27) + + +### Bug Fixes + +* **snapchat_conversion:** price calculation ([#1988](https://github.com/rudderlabs/rudder-transformer/issues/1988)) ([8240224](https://github.com/rudderlabs/rudder-transformer/commit/82402242a1ffe9ccc75671023cff1ebbbcb390e6)) +* **test-cases:** fix test cases to use template like secret keys ([#1973](https://github.com/rudderlabs/rudder-transformer/issues/1973)) ([f709d1f](https://github.com/rudderlabs/rudder-transformer/commit/f709d1fb9d1d22e306fc600872dd2b702436f961)) + +## [1.18.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.17.0...v1.18.0) (2023-03-23) + + +### Features + +* **indicative:** parse user agent info ([#1971](https://github.com/rudderlabs/rudder-transformer/issues/1971)) ([1328b5a](https://github.com/rudderlabs/rudder-transformer/commit/1328b5ac38f9d21def89bacbbca4891dbd6e4450)) + + +### Bug Fixes + +* changelog ([d8d81a2](https://github.com/rudderlabs/rudder-transformer/commit/d8d81a2d4ad428be2936932f22e63fd9007d9799)) +* ga4 user_properties structure ([#1982](https://github.com/rudderlabs/rudder-transformer/issues/1982)) ([3d81202](https://github.com/rudderlabs/rudder-transformer/commit/3d81202fcd88b8033504e9f5aa5d095e6863dc76)) +* tik-tok ads offline events email array issue ([#1979](https://github.com/rudderlabs/rudder-transformer/issues/1979)) ([3c7f4ac](https://github.com/rudderlabs/rudder-transformer/commit/3c7f4ac60ec564198f0bf0524a0780dfc581140a)) + +## [1.17.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.16.2...v1.17.0) (2023-03-21) + + +### Features + +* add default action source ([#1957](https://github.com/rudderlabs/rudder-transformer/issues/1957)) ([043cae2](https://github.com/rudderlabs/rudder-transformer/commit/043cae2802c81e7a1d25d266eaeca06a3000aeaa)) +* **braze:** refactor code custom attribute operations ([#1943](https://github.com/rudderlabs/rudder-transformer/issues/1943)) ([9c91bfc](https://github.com/rudderlabs/rudder-transformer/commit/9c91bfc4f7eeeaa1e97174a2c96c1902c6817c6a)) +* **mix-panel:** add support for multiple group key value ([#1773](https://github.com/rudderlabs/rudder-transformer/issues/1773)) ([e7a8d48](https://github.com/rudderlabs/rudder-transformer/commit/e7a8d489cb3fda2718e106730d69506e6f56c9f3)) + + +### Bug Fixes + +* added products array check for iterable destination ([#1949](https://github.com/rudderlabs/rudder-transformer/issues/1949)) ([87db73e](https://github.com/rudderlabs/rudder-transformer/commit/87db73e062dcac54fdb1906659a90d2df0f13648)) +* **fb pixel:** ecomm ([#1932](https://github.com/rudderlabs/rudder-transformer/issues/1932)) ([8d5e07a](https://github.com/rudderlabs/rudder-transformer/commit/8d5e07a2862ee757ecd3523b36e150f29a134b0f)), closes [#1964](https://github.com/rudderlabs/rudder-transformer/issues/1964) +* **firehose:** handle undefined message type ([#1942](https://github.com/rudderlabs/rudder-transformer/issues/1942)) ([d3ea664](https://github.com/rudderlabs/rudder-transformer/commit/d3ea664c182cc1702ab0298cf79ecad2aae7ce6b)) +* **integration:** pinterest content_id field dropped when having null value to match with cdkv2 ([#1950](https://github.com/rudderlabs/rudder-transformer/issues/1950)) ([09995e9](https://github.com/rudderlabs/rudder-transformer/commit/09995e9cc9931827d8be5b1ede59be9ce77c0cd4)) + +### [1.16.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.16.1...v1.16.2) (2023-03-16) + + +### Bug Fixes + +* add optional chaining for phone in tiktok_ads_offline_events ([37dc013](https://github.com/rudderlabs/rudder-transformer/commit/37dc0139a28fab113eac4b337f3475ac2ea29262)) + +### [1.16.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.16.0...v1.16.1) (2023-03-15) + + +### Bug Fixes + +* **fb pixel:** add default action source ([#1946](https://github.com/rudderlabs/rudder-transformer/issues/1946)) ([2e03f4d](https://github.com/rudderlabs/rudder-transformer/commit/2e03f4dcfbfb1c6d35aecf950e0f1e3828ceaaef)) + +## [1.16.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.15.1...v1.16.0) (2023-03-14) + + +### Features + +* **facebook_app_events:** update api version ([#1921](https://github.com/rudderlabs/rudder-transformer/issues/1921)) ([793ebfb](https://github.com/rudderlabs/rudder-transformer/commit/793ebfb39e8667882cd40ff4add2ea6b5dfb9564)) + + +### Bug Fixes + +* changelog ([ef13dd8](https://github.com/rudderlabs/rudder-transformer/commit/ef13dd8bef572c80ddb8511abb7d5be23cc5dd81)) +* create pull-request jobs in workflows ([36b2677](https://github.com/rudderlabs/rudder-transformer/commit/36b2677209b9b34a33375381dd74a74988e11dd2)) +* syntax issue in workflow ([09d7659](https://github.com/rudderlabs/rudder-transformer/commit/09d765912ef07552729c1193e28c1bd149f68401)) +* syntax issue in workflow ([c84ef6e](https://github.com/rudderlabs/rudder-transformer/commit/c84ef6e1d1b4feefb208e10c316c4f5bd647efa3)) +* **util:** getDestinationExternalIDObjectForRetl funciton ([#1919](https://github.com/rudderlabs/rudder-transformer/issues/1919)) ([235243d](https://github.com/rudderlabs/rudder-transformer/commit/235243de9afb1b52b56b7db9170e5eb3345b1de6)) + +### [1.15.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.15.0...v1.15.1) (2023-03-13) + + +### Features + +* mautic: support self hosted instance ([#1909](https://github.com/rudderlabs/rudder-transformer/issues/1909)) ([7c0a724](https://github.com/rudderlabs/rudder-transformer/commit/7c0a7240d9fcef45e4066a4a7dee8234c7e782d3)) +* moenagae alias call support ([#1930](https://github.com/rudderlabs/rudder-transformer/issues/1930)) ([194bf8e](https://github.com/rudderlabs/rudder-transformer/commit/194bf8e3e2f47ca63ee273c9255468b41bc6ffcf)) +* transformation secrets ([#1912](https://github.com/rudderlabs/rudder-transformer/issues/1912)) ([a0b488a](https://github.com/rudderlabs/rudder-transformer/commit/a0b488a4514c9c868f39d000a4ae40aa3f7b5de6)) + + +### Bug Fixes + +* client_id mapping for ga4 ([#1904](https://github.com/rudderlabs/rudder-transformer/issues/1904)) ([9aaf908](https://github.com/rudderlabs/rudder-transformer/commit/9aaf90864bd489fb463a56f62a673ead2bb83fe5)) +* **destination:** add channel as platform ([#1906](https://github.com/rudderlabs/rudder-transformer/issues/1906)) ([4cfbbd0](https://github.com/rudderlabs/rudder-transformer/commit/4cfbbd02530d1cc02b1b04ab5c721f1b642d41bc)) +* remove ga4 identify call support for cloud mode and treat identify call event as track events (login, sign_up and generate_lead) ([#1903](https://github.com/rudderlabs/rudder-transformer/issues/1903)) ([fa8fd74](https://github.com/rudderlabs/rudder-transformer/commit/fa8fd74f14d0ac6707f83ed81897a541ae6191e6)) +* **slack:** handlebars error handling ([#1910](https://github.com/rudderlabs/rudder-transformer/issues/1910)) ([0c6bc2e](https://github.com/rudderlabs/rudder-transformer/commit/0c6bc2edb17986a1d99365a4468a67bd65e09e47)) + +## [1.15.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.14.0...v1.15.0) (2023-03-07) + + +### Features + +* log process memory errors ([#1920](https://github.com/rudderlabs/rudder-transformer/issues/1920)) ([076d7b5](https://github.com/rudderlabs/rudder-transformer/commit/076d7b58831b035102a0544985d9a1ff67ef1791)) +* revamp github actions for release management ([#1898](https://github.com/rudderlabs/rudder-transformer/issues/1898)) ([8847f58](https://github.com/rudderlabs/rudder-transformer/commit/8847f589dc2248d4210c82326022d9f459b2f888)) +* suppress errors from unwanted modules to bugsnag ([#1907](https://github.com/rudderlabs/rudder-transformer/issues/1907)) ([9e6a1c0](https://github.com/rudderlabs/rudder-transformer/commit/9e6a1c0bd3dfa79e2a470eefad7d4c9b34c842cb)) + + +### Bug Fixes + +* correcting method name for prepareProxy ([#1923](https://github.com/rudderlabs/rudder-transformer/issues/1923)) ([cfed522](https://github.com/rudderlabs/rudder-transformer/commit/cfed5228be21bd8d7f5a2ea8bc4b97c973a112be)) +* **fb pixel:** zp mapping and external_id ([#1908](https://github.com/rudderlabs/rudder-transformer/issues/1908)) ([c8665d4](https://github.com/rudderlabs/rudder-transformer/commit/c8665d4475fe06d45d3b4fdd26b46247be0188f6)) +* **ga4:** product array issue ([#1845](https://github.com/rudderlabs/rudder-transformer/issues/1845)) ([3d24e93](https://github.com/rudderlabs/rudder-transformer/commit/3d24e93a6c00c3d2bd425012e4b315997b5e05b6)) +* updated batching logic for pinterest_tag ([#1878](https://github.com/rudderlabs/rudder-transformer/issues/1878)) ([e38d772](https://github.com/rudderlabs/rudder-transformer/commit/e38d7721451d4c43d8c1fe67d28566302dced440)) + +## [1.14.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.13.0...v1.14.0) (2023-02-28) + + +### Features + +* added customerio group call support ([#1869](https://github.com/rudderlabs/rudder-transformer/issues/1869)) ([5e692ea](https://github.com/rudderlabs/rudder-transformer/commit/5e692ead3c43819edd47f8cf244a3f78ce510359)) +* added new destination vitally ([#1892](https://github.com/rudderlabs/rudder-transformer/issues/1892)) ([8638ee7](https://github.com/rudderlabs/rudder-transformer/commit/8638ee7765b4e3ecf215ec90056d03cffb42f5f6)) +* include latest image of transformer ([#1879](https://github.com/rudderlabs/rudder-transformer/issues/1879)) ([b179fef](https://github.com/rudderlabs/rudder-transformer/commit/b179fef031fe06aa8d4e3b258c4740b45f4387bb)) +* onboard courier destination ([#1844](https://github.com/rudderlabs/rudder-transformer/issues/1844)) ([#1883](https://github.com/rudderlabs/rudder-transformer/issues/1883)) ([18bcdf8](https://github.com/rudderlabs/rudder-transformer/commit/18bcdf8b4b1f0b63cbe3f839df38f4b6b6875e98)) +* python libraries ([#1855](https://github.com/rudderlabs/rudder-transformer/issues/1855)) ([01f3df5](https://github.com/rudderlabs/rudder-transformer/commit/01f3df5ad5868a3604715c26f7ea9d8dea82860b)) +* **transformation:** adding rudder libraries support ([#1817](https://github.com/rudderlabs/rudder-transformer/issues/1817)) ([1c91d22](https://github.com/rudderlabs/rudder-transformer/commit/1c91d22795b142a90011e35cf85d1a4ac8eaa545)) + + +### Bug Fixes + +* **active-campaign:** add check before iterating stored event array ([#1902](https://github.com/rudderlabs/rudder-transformer/issues/1902)) ([9666e85](https://github.com/rudderlabs/rudder-transformer/commit/9666e851751101efc99f1d48018a9ae1ed6a9b8e)) +* **integration:** Algolia in CDK v2 now errors out for non string event names ([#1867](https://github.com/rudderlabs/rudder-transformer/issues/1867)) ([5be8891](https://github.com/rudderlabs/rudder-transformer/commit/5be88917270a9fb1c28fdd7f547e9a017aacf56d)) +* logger import ([#1874](https://github.com/rudderlabs/rudder-transformer/issues/1874)) ([7ff1b4a](https://github.com/rudderlabs/rudder-transformer/commit/7ff1b4a11fe530de45dacce1da7bf0d58d4b38fd)) +* package.json & package-lock.json to reduce vulnerabilities ([#1885](https://github.com/rudderlabs/rudder-transformer/issues/1885)) ([11b4a4b](https://github.com/rudderlabs/rudder-transformer/commit/11b4a4b523b00dffb0c9d0017a6ed3279fc596d2)) + +## [1.13.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.12.0...v1.13.0) (2023-02-15) + + +### Features + +* **destination:** onboard criteo audience ([#1792](https://github.com/rudderlabs/rudder-transformer/issues/1792)) ([5904c75](https://github.com/rudderlabs/rudder-transformer/commit/5904c75042c7cb34320fc43bcd3b54bfe5ce97fc)) +* **integration:** rockerbox - add support for custom properties mapping ([#1815](https://github.com/rudderlabs/rudder-transformer/issues/1815)) ([8ba50d2](https://github.com/rudderlabs/rudder-transformer/commit/8ba50d2249d5bd5db84ff9c37323e618b5942ec5)) +* **integration:** rockerbox - allow all properties to be passed over to rockerbox ([#1838](https://github.com/rudderlabs/rudder-transformer/issues/1838)) ([fb64039](https://github.com/rudderlabs/rudder-transformer/commit/fb6403992c76077398a9f8b5ac4cbe9fb28fd073)) +* **integrations:** onboarding webhook to CDK v2 ([#1783](https://github.com/rudderlabs/rudder-transformer/issues/1783)) ([22d583a](https://github.com/rudderlabs/rudder-transformer/commit/22d583ae2c239f532629a0d0db055658e2eda65d)) +* **mailchimp:** add support for track call ([#1814](https://github.com/rudderlabs/rudder-transformer/issues/1814)) ([94c10ba](https://github.com/rudderlabs/rudder-transformer/commit/94c10ba971a54f5f9894c0107a96a121068994cf)) +* moengage source ([#1846](https://github.com/rudderlabs/rudder-transformer/issues/1846)) ([123a2d9](https://github.com/rudderlabs/rudder-transformer/commit/123a2d9f57fd4f0c76f939b8d56edbbbc995ab00)) +* **new integration:** onboard optimizely fullstack cloud mode ([#1805](https://github.com/rudderlabs/rudder-transformer/issues/1805)) ([5373185](https://github.com/rudderlabs/rudder-transformer/commit/537318589110672ad6f453510a19e7fde3bfd2bb)) +* shopify - add cart token, order token and checkout token in the Context object ([#1847](https://github.com/rudderlabs/rudder-transformer/issues/1847)) ([88e8fe0](https://github.com/rudderlabs/rudder-transformer/commit/88e8fe0a14766532739aaf800cebb61b0ef6175d)) +* **source:** initial commit for identity stitching in shopify ([#1810](https://github.com/rudderlabs/rudder-transformer/issues/1810)) ([7b662df](https://github.com/rudderlabs/rudder-transformer/commit/7b662dfbf192f08f7bd2baf8dbd9dc5f12a8f23e)) +* **transformation:** libraries import extractor ([#1851](https://github.com/rudderlabs/rudder-transformer/issues/1851)) ([462bba9](https://github.com/rudderlabs/rudder-transformer/commit/462bba9e9ed49f0a76a8bb0e4d0b444e324f208c)) +* userId to be converted to string for Router ([#1822](https://github.com/rudderlabs/rudder-transformer/issues/1822)) ([7ec03c6](https://github.com/rudderlabs/rudder-transformer/commit/7ec03c66632513da4a311c3e19abcb3accf3437e)) + + +### Bug Fixes + +* **active_campaign:** handle bad url string while formatting with domainUrlV2 ([#1816](https://github.com/rudderlabs/rudder-transformer/issues/1816)) ([7fd15be](https://github.com/rudderlabs/rudder-transformer/commit/7fd15be8633c9cc6fcb4448f73042d641f81356c)) +* amplitude check for actionKey before accessing it ([#1833](https://github.com/rudderlabs/rudder-transformer/issues/1833)) ([5071582](https://github.com/rudderlabs/rudder-transformer/commit/50715827981e70e814c427cfa0359de16fb3c554)) +* bugsnag errors ([#1863](https://github.com/rudderlabs/rudder-transformer/issues/1863)) ([ae627d3](https://github.com/rudderlabs/rudder-transformer/commit/ae627d3adc48aa5ab390461693005d8957757430)) +* **CDK v2:** editing CDK v2 for pinterest tag for num_items field ([#1840](https://github.com/rudderlabs/rudder-transformer/issues/1840)) ([b1265c0](https://github.com/rudderlabs/rudder-transformer/commit/b1265c0949f8352881dfb13d5d31ba712e26363b)) +* codebuild issue ([16eab14](https://github.com/rudderlabs/rudder-transformer/commit/16eab14e627184d04b1a7dbb1fdd3388ff065c85)) +* criteo_audience: stringification of destination error ([#1839](https://github.com/rudderlabs/rudder-transformer/issues/1839)) ([fe17453](https://github.com/rudderlabs/rudder-transformer/commit/fe17453db7bef03916feb271bae1c25b613829da)) +* ga4 userId issue ([#1857](https://github.com/rudderlabs/rudder-transformer/issues/1857)) ([cd30c47](https://github.com/rudderlabs/rudder-transformer/commit/cd30c47f292db71a8961bef6b38a3478316e00b9)) +* **integration:** Pinterest conversion in CDK v2 returns correct num_items for single product array ([#1861](https://github.com/rudderlabs/rudder-transformer/issues/1861)) ([8c8c316](https://github.com/rudderlabs/rudder-transformer/commit/8c8c316b9ba795111f716c314cedb189e968260e)) +* **integrations:** salesforce update error message and error response handler ([#1799](https://github.com/rudderlabs/rudder-transformer/issues/1799)) ([b473c23](https://github.com/rudderlabs/rudder-transformer/commit/b473c2389909e1f06d8d79b279e66b86b414c908)) +* **klaviyo:** skip profile lookup call for rETL events ([#1856](https://github.com/rudderlabs/rudder-transformer/issues/1856)) ([9e6b5e4](https://github.com/rudderlabs/rudder-transformer/commit/9e6b5e4c145d64341e043014baed4e344fecc74c)) +* order_token updated in shopify ([#1865](https://github.com/rudderlabs/rudder-transformer/issues/1865)) ([7fc608e](https://github.com/rudderlabs/rudder-transformer/commit/7fc608e0f1c264c4494b987e0102ff48aa51e4fe)) +* package.json & package-lock.json to reduce vulnerabilities ([#1824](https://github.com/rudderlabs/rudder-transformer/issues/1824)) ([779edb2](https://github.com/rudderlabs/rudder-transformer/commit/779edb290b04694b126739708a30be024a53fe33)) +* refactor subscribe user flow to stop subscribing user without consent ([#1841](https://github.com/rudderlabs/rudder-transformer/issues/1841)) ([fe231c2](https://github.com/rudderlabs/rudder-transformer/commit/fe231c280a1250413f4b665820e4da303e05259a)) +* set context as metadata in bugsnag error notification ([#1778](https://github.com/rudderlabs/rudder-transformer/issues/1778)) ([55c3097](https://github.com/rudderlabs/rudder-transformer/commit/55c309716877b303943c18537352347b83d72c2f)) +* **singular:** undefined properties object for track ([#1808](https://github.com/rudderlabs/rudder-transformer/issues/1808)) ([f53bec1](https://github.com/rudderlabs/rudder-transformer/commit/f53bec192825aedfcf320197c386a449f9677816)) +* **transformation:** release isolate in case of error while creating ([#1850](https://github.com/rudderlabs/rudder-transformer/issues/1850)) ([ea51e24](https://github.com/rudderlabs/rudder-transformer/commit/ea51e24a893daa18e9b30463e9300ce029230a00)) +* typecast userId, anonymousId to string ([2150033](https://github.com/rudderlabs/rudder-transformer/commit/215003381557c583bd8889cef121ebbba56785c2)) +* undefined check added for isHybridModeEnabled function ([#1812](https://github.com/rudderlabs/rudder-transformer/issues/1812)) ([a49be9e](https://github.com/rudderlabs/rudder-transformer/commit/a49be9e77b6ba6bc1ef5087208ddc1a135e4301e)) +* update check for props value ([343e946](https://github.com/rudderlabs/rudder-transformer/commit/343e946ed4adc89ad8c17d945b69c2f3f3be7506)) + +## [1.12.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.11.0...v1.12.0) (2023-01-19) + + +### Features + +* **BQStream:** add batch support ([#1377](https://github.com/rudderlabs/rudder-transformer/issues/1377)) ([14c7531](https://github.com/rudderlabs/rudder-transformer/commit/14c7531635b5348ef518dcad483f25d4adeddddd)) +* **destination:** onboard lemnisk integration ([#1787](https://github.com/rudderlabs/rudder-transformer/issues/1787)) ([3c6b9e1](https://github.com/rudderlabs/rudder-transformer/commit/3c6b9e148dff559357fb61de49602f9d1689d699)), closes [#1728](https://github.com/rudderlabs/rudder-transformer/issues/1728) +* ga4 page calls are discarded if hybrid mode is enabled ([#1794](https://github.com/rudderlabs/rudder-transformer/issues/1794)) ([ca12d07](https://github.com/rudderlabs/rudder-transformer/commit/ca12d078e3f936c4c0fd4449259d1a55ba0a4424)) +* sessionId consistency across destinations ([#1789](https://github.com/rudderlabs/rudder-transformer/issues/1789)) ([ff68a44](https://github.com/rudderlabs/rudder-transformer/commit/ff68a4488e50f4a44c950395d0f9e5dc514db1df)) + + +### Bug Fixes + +* add missing implementation stat tag for router transformation ([#1779](https://github.com/rudderlabs/rudder-transformer/issues/1779)) ([5ebde56](https://github.com/rudderlabs/rudder-transformer/commit/5ebde56ea644f81d1a17fa4d85697821879fa191)) +* add sources as valid channel to cdkv1 ([bd74ef7](https://github.com/rudderlabs/rudder-transformer/commit/bd74ef7eff712d4db75856a205ddaa473d80ddd9)) +* add sources as valid channel to cdkv1 ([#1803](https://github.com/rudderlabs/rudder-transformer/issues/1803)) ([e3057db](https://github.com/rudderlabs/rudder-transformer/commit/e3057dbff9d8daa1f64b5cd6de6b57ab97c016ee)) +* add validation for event name as string ([#1768](https://github.com/rudderlabs/rudder-transformer/issues/1768)) ([c48ec5e](https://github.com/rudderlabs/rudder-transformer/commit/c48ec5e3cd6590e5c766bc3afac9eb5c368b85f0)) +* array type check for externalIdArray ([#1785](https://github.com/rudderlabs/rudder-transformer/issues/1785)) ([dec3bb6](https://github.com/rudderlabs/rudder-transformer/commit/dec3bb6661b6737203964b2c4b5e3d2bd7421433)) +* bugsnag error fixes for salesforce, garl, gaoc ([#1776](https://github.com/rudderlabs/rudder-transformer/issues/1776)) ([553c5de](https://github.com/rudderlabs/rudder-transformer/commit/553c5defc098e01e74d98606cf59baa9008b814d)) +* change destination configuration errors to abortable ([#1790](https://github.com/rudderlabs/rudder-transformer/issues/1790)) ([fb1281d](https://github.com/rudderlabs/rudder-transformer/commit/fb1281d2bc090bda34c7420c10946504e83756ef)) +* destination transformation change from processor to router ([#1754](https://github.com/rudderlabs/rudder-transformer/issues/1754)) ([674d476](https://github.com/rudderlabs/rudder-transformer/commit/674d476bd1e55194456798c7a83bd27a62b868e3)) +* **integration:** GAOC - fix timestamp format, allow calls without custom variables ([#1796](https://github.com/rudderlabs/rudder-transformer/issues/1796)) ([7c450ee](https://github.com/rudderlabs/rudder-transformer/commit/7c450ee78db2052bbb70866cbc6bd98cfd9c32b4)) +* iterable alias call is separated from identify batching ([#1777](https://github.com/rudderlabs/rudder-transformer/issues/1777)) ([3676c45](https://github.com/rudderlabs/rudder-transformer/commit/3676c4591e8b241ad6a7873954bc8f07e7a69584)) +* products array mapping and rename impact_radius to impact ([#1797](https://github.com/rudderlabs/rudder-transformer/issues/1797)) ([f812f0d](https://github.com/rudderlabs/rudder-transformer/commit/f812f0d3fbff6d6bfdd3670c59cf8ea01744f80f)) +* proper error throw in gaec ([#1767](https://github.com/rudderlabs/rudder-transformer/issues/1767)) ([a2ed19d](https://github.com/rudderlabs/rudder-transformer/commit/a2ed19dc0b5eb6bbaec7dd88b25762553b1aae79)) +* remove regex validation for phone_number ([#1771](https://github.com/rudderlabs/rudder-transformer/issues/1771)) ([6c01642](https://github.com/rudderlabs/rudder-transformer/commit/6c016428b496cea7e3771d3cf5ab4dfbbd7e382b)) +* revert salesforce fix for undefined access_token ([#1780](https://github.com/rudderlabs/rudder-transformer/issues/1780)) ([d917b2e](https://github.com/rudderlabs/rudder-transformer/commit/d917b2e61afbdfb697e5d6066aa6e34fd9f71427)) +* send dest info for failed events ([#1770](https://github.com/rudderlabs/rudder-transformer/issues/1770)) ([9f108c0](https://github.com/rudderlabs/rudder-transformer/commit/9f108c0b6a0978b7ca71d1b1bbeaafbba8dce2ee)) + +## [1.11.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.10.0...v1.11.0) (2023-01-10) + + +### Features + +* [impact radius] onboard impact radius cloud mode destination ([#1730](https://github.com/rudderlabs/rudder-transformer/issues/1730)) ([8d55c24](https://github.com/rudderlabs/rudder-transformer/commit/8d55c24930e45ddb0a38d1e2ca935b11d8fac665)), closes [#1764](https://github.com/rudderlabs/rudder-transformer/issues/1764) +* appcenter updated to support test events ([#1741](https://github.com/rudderlabs/rudder-transformer/issues/1741)) ([00648da](https://github.com/rudderlabs/rudder-transformer/commit/00648da21286cf4170e395e601dcd4b7d199957f)) +* **braze:** nested array ops ([#1753](https://github.com/rudderlabs/rudder-transformer/issues/1753)) ([0658a5f](https://github.com/rudderlabs/rudder-transformer/commit/0658a5f323a7b076a88fcb987f2ac25ea803552f)) +* clientId support added for ga4 hybrid mode ([#1759](https://github.com/rudderlabs/rudder-transformer/issues/1759)) ([04638cb](https://github.com/rudderlabs/rudder-transformer/commit/04638cb1550c05435a12d8ed481fd55c13e667da)) +* **destination:** onboard discord ([#1725](https://github.com/rudderlabs/rudder-transformer/issues/1725)) ([4f6323b](https://github.com/rudderlabs/rudder-transformer/commit/4f6323bcb5e13fb70fd0fd879c64917d46120a34)), closes [#1647](https://github.com/rudderlabs/rudder-transformer/issues/1647) [#1644](https://github.com/rudderlabs/rudder-transformer/issues/1644) [#1656](https://github.com/rudderlabs/rudder-transformer/issues/1656) [#1658](https://github.com/rudderlabs/rudder-transformer/issues/1658) [#1665](https://github.com/rudderlabs/rudder-transformer/issues/1665) [#1649](https://github.com/rudderlabs/rudder-transformer/issues/1649) [#1652](https://github.com/rudderlabs/rudder-transformer/issues/1652) [#1651](https://github.com/rudderlabs/rudder-transformer/issues/1651) [#1669](https://github.com/rudderlabs/rudder-transformer/issues/1669) [#1673](https://github.com/rudderlabs/rudder-transformer/issues/1673) [#1638](https://github.com/rudderlabs/rudder-transformer/issues/1638) [#1641](https://github.com/rudderlabs/rudder-transformer/issues/1641) [#1653](https://github.com/rudderlabs/rudder-transformer/issues/1653) [#1661](https://github.com/rudderlabs/rudder-transformer/issues/1661) [#1666](https://github.com/rudderlabs/rudder-transformer/issues/1666) [#1667](https://github.com/rudderlabs/rudder-transformer/issues/1667) [#1671](https://github.com/rudderlabs/rudder-transformer/issues/1671) [#1659](https://github.com/rudderlabs/rudder-transformer/issues/1659) [#1654](https://github.com/rudderlabs/rudder-transformer/issues/1654) [#1655](https://github.com/rudderlabs/rudder-transformer/issues/1655) [#1670](https://github.com/rudderlabs/rudder-transformer/issues/1670) [#1657](https://github.com/rudderlabs/rudder-transformer/issues/1657) [#1672](https://github.com/rudderlabs/rudder-transformer/issues/1672) [#1642](https://github.com/rudderlabs/rudder-transformer/issues/1642) [#1645](https://github.com/rudderlabs/rudder-transformer/issues/1645) [#1650](https://github.com/rudderlabs/rudder-transformer/issues/1650) [#1639](https://github.com/rudderlabs/rudder-transformer/issues/1639) [#1674](https://github.com/rudderlabs/rudder-transformer/issues/1674) [#1660](https://github.com/rudderlabs/rudder-transformer/issues/1660) [#1648](https://github.com/rudderlabs/rudder-transformer/issues/1648) [#1675](https://github.com/rudderlabs/rudder-transformer/issues/1675) [#1677](https://github.com/rudderlabs/rudder-transformer/issues/1677) [#1678](https://github.com/rudderlabs/rudder-transformer/issues/1678) [#1676](https://github.com/rudderlabs/rudder-transformer/issues/1676) [#1680](https://github.com/rudderlabs/rudder-transformer/issues/1680) [#1682](https://github.com/rudderlabs/rudder-transformer/issues/1682) [#1681](https://github.com/rudderlabs/rudder-transformer/issues/1681) [#1684](https://github.com/rudderlabs/rudder-transformer/issues/1684) [#1685](https://github.com/rudderlabs/rudder-transformer/issues/1685) [#1686](https://github.com/rudderlabs/rudder-transformer/issues/1686) [#1687](https://github.com/rudderlabs/rudder-transformer/issues/1687) [#1688](https://github.com/rudderlabs/rudder-transformer/issues/1688) [#1689](https://github.com/rudderlabs/rudder-transformer/issues/1689) [#1690](https://github.com/rudderlabs/rudder-transformer/issues/1690) [#1691](https://github.com/rudderlabs/rudder-transformer/issues/1691) [#1692](https://github.com/rudderlabs/rudder-transformer/issues/1692) [#1697](https://github.com/rudderlabs/rudder-transformer/issues/1697) [#1699](https://github.com/rudderlabs/rudder-transformer/issues/1699) [#1700](https://github.com/rudderlabs/rudder-transformer/issues/1700) [#1698](https://github.com/rudderlabs/rudder-transformer/issues/1698) [#1704](https://github.com/rudderlabs/rudder-transformer/issues/1704) [#1705](https://github.com/rudderlabs/rudder-transformer/issues/1705) +* **destination:** onboard pipedream ([#1703](https://github.com/rudderlabs/rudder-transformer/issues/1703)) ([f03e86a](https://github.com/rudderlabs/rudder-transformer/commit/f03e86a89c1123310b5d9507c5e4d82ea3d4bbf8)) +* **destination:** onboard TikTok_Ads_Offline_Events ([#1749](https://github.com/rudderlabs/rudder-transformer/issues/1749)) ([67a3a4e](https://github.com/rudderlabs/rudder-transformer/commit/67a3a4ef6f9caa3a87afce09d502a702c584ce33)) +* ga4 hybrid mode support ([#1709](https://github.com/rudderlabs/rudder-transformer/issues/1709)) ([08779d4](https://github.com/rudderlabs/rudder-transformer/commit/08779d4b8ff94bd21d9ef3600736503193da1620)) +* **integration:** adobe_analytics-fix typo, add missing mapping ([#1763](https://github.com/rudderlabs/rudder-transformer/issues/1763)) ([32f65dc](https://github.com/rudderlabs/rudder-transformer/commit/32f65dcdd3d807be1eb9a409a7b5b1d0892b067a)) +* **new integration:** onboarding sendinblue cloud mode destination ([#1662](https://github.com/rudderlabs/rudder-transformer/issues/1662)) ([e265e66](https://github.com/rudderlabs/rudder-transformer/commit/e265e66a900671f537198769b8ee0c61694bdbf2)) +* onboard pagerduty destination ([#1736](https://github.com/rudderlabs/rudder-transformer/issues/1736)) ([a947b10](https://github.com/rudderlabs/rudder-transformer/commit/a947b10c5d642463d1a03061906520ebbfdc9b05)) +* onboard pagerduty source ([#1721](https://github.com/rudderlabs/rudder-transformer/issues/1721)) ([927fa95](https://github.com/rudderlabs/rudder-transformer/commit/927fa951c35cfe098dfdb3e5499fdffcc47cb18d)) +* **pinterest:** add ldp support ([#1731](https://github.com/rudderlabs/rudder-transformer/issues/1731)) ([a54d074](https://github.com/rudderlabs/rudder-transformer/commit/a54d074f547e5e1d291bf6fa830afc013c2c7146)) +* **transformation:** faas integration for python transformations ([#1664](https://github.com/rudderlabs/rudder-transformer/issues/1664)) ([5ac8ac5](https://github.com/rudderlabs/rudder-transformer/commit/5ac8ac54b2e10ff600ab7c08b8a9ce3e6a345bee)) + + +### Bug Fixes + +* **amplitude:** added an error validation at processor ([#1717](https://github.com/rudderlabs/rudder-transformer/issues/1717)) ([424bce9](https://github.com/rudderlabs/rudder-transformer/commit/424bce9cc72a2196a955efd08e643d04e337317a)) +* **destination:** credentials exposure on live events for aws lambda ([#1726](https://github.com/rudderlabs/rudder-transformer/issues/1726)) ([589fc40](https://github.com/rudderlabs/rudder-transformer/commit/589fc407d2c4449628fa7915289ae9a1c97d20d4)) +* encode email with encodeUriComponent before searching ([#1729](https://github.com/rudderlabs/rudder-transformer/issues/1729)) ([21b624f](https://github.com/rudderlabs/rudder-transformer/commit/21b624f59c098a0459a16347e1845d7a661377fd)) +* **facebook pixel:** error code mapping for transformer proxy ([#1738](https://github.com/rudderlabs/rudder-transformer/issues/1738)) ([4e98299](https://github.com/rudderlabs/rudder-transformer/commit/4e98299298f10dc5ae39d5a3994746515622c729)) +* fixed flattenJson method ([#1718](https://github.com/rudderlabs/rudder-transformer/issues/1718)) ([9edb44e](https://github.com/rudderlabs/rudder-transformer/commit/9edb44e11b9b7ae059e9f4cfa88633e3fa4cd902)) +* hotfix for zendesk global variable ([a5d4424](https://github.com/rudderlabs/rudder-transformer/commit/a5d442405b3b55cc3bafd1389a771904d31da7c6)) +* set content_type product by default ([#1761](https://github.com/rudderlabs/rudder-transformer/issues/1761)) ([6f9cda1](https://github.com/rudderlabs/rudder-transformer/commit/6f9cda143cb8ab6b215f4b3684c5375a76d160fd)) +* user deletion handlers implementation across destinations ([#1748](https://github.com/rudderlabs/rudder-transformer/issues/1748)) ([786cfe0](https://github.com/rudderlabs/rudder-transformer/commit/786cfe0d0849d68a511c920d6c292ef3f73aee7f)), closes [#1720](https://github.com/rudderlabs/rudder-transformer/issues/1720) [#1719](https://github.com/rudderlabs/rudder-transformer/issues/1719) [#1723](https://github.com/rudderlabs/rudder-transformer/issues/1723) [#1751](https://github.com/rudderlabs/rudder-transformer/issues/1751) [#1750](https://github.com/rudderlabs/rudder-transformer/issues/1750) [#1735](https://github.com/rudderlabs/rudder-transformer/issues/1735) +* **zendesk:** remove endpoint global variable ([#1746](https://github.com/rudderlabs/rudder-transformer/issues/1746)) ([836c37e](https://github.com/rudderlabs/rudder-transformer/commit/836c37eb069ee88d24806e692ec70e0d0b045ae1)) + +## [1.10.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.9.1...v1.10.0) (2022-12-20) + + +### Features + +* introduce new tags and error classes ([#1631](https://github.com/rudderlabs/rudder-transformer/issues/1631)) ([0615a31](https://github.com/rudderlabs/rudder-transformer/commit/0615a3196d4203f6f648a4e04ca84e7ede405895)), closes [#1647](https://github.com/rudderlabs/rudder-transformer/issues/1647) [#1644](https://github.com/rudderlabs/rudder-transformer/issues/1644) [#1656](https://github.com/rudderlabs/rudder-transformer/issues/1656) [#1658](https://github.com/rudderlabs/rudder-transformer/issues/1658) [#1665](https://github.com/rudderlabs/rudder-transformer/issues/1665) [#1649](https://github.com/rudderlabs/rudder-transformer/issues/1649) [#1652](https://github.com/rudderlabs/rudder-transformer/issues/1652) [#1651](https://github.com/rudderlabs/rudder-transformer/issues/1651) [#1669](https://github.com/rudderlabs/rudder-transformer/issues/1669) [#1673](https://github.com/rudderlabs/rudder-transformer/issues/1673) [#1638](https://github.com/rudderlabs/rudder-transformer/issues/1638) [#1641](https://github.com/rudderlabs/rudder-transformer/issues/1641) [#1653](https://github.com/rudderlabs/rudder-transformer/issues/1653) [#1661](https://github.com/rudderlabs/rudder-transformer/issues/1661) [#1666](https://github.com/rudderlabs/rudder-transformer/issues/1666) [#1667](https://github.com/rudderlabs/rudder-transformer/issues/1667) [#1671](https://github.com/rudderlabs/rudder-transformer/issues/1671) [#1659](https://github.com/rudderlabs/rudder-transformer/issues/1659) [#1654](https://github.com/rudderlabs/rudder-transformer/issues/1654) [#1655](https://github.com/rudderlabs/rudder-transformer/issues/1655) [#1670](https://github.com/rudderlabs/rudder-transformer/issues/1670) [#1657](https://github.com/rudderlabs/rudder-transformer/issues/1657) [#1672](https://github.com/rudderlabs/rudder-transformer/issues/1672) [#1642](https://github.com/rudderlabs/rudder-transformer/issues/1642) [#1645](https://github.com/rudderlabs/rudder-transformer/issues/1645) [#1650](https://github.com/rudderlabs/rudder-transformer/issues/1650) [#1639](https://github.com/rudderlabs/rudder-transformer/issues/1639) [#1674](https://github.com/rudderlabs/rudder-transformer/issues/1674) [#1660](https://github.com/rudderlabs/rudder-transformer/issues/1660) [#1648](https://github.com/rudderlabs/rudder-transformer/issues/1648) [#1675](https://github.com/rudderlabs/rudder-transformer/issues/1675) [#1677](https://github.com/rudderlabs/rudder-transformer/issues/1677) [#1678](https://github.com/rudderlabs/rudder-transformer/issues/1678) [#1676](https://github.com/rudderlabs/rudder-transformer/issues/1676) [#1680](https://github.com/rudderlabs/rudder-transformer/issues/1680) [#1682](https://github.com/rudderlabs/rudder-transformer/issues/1682) [#1681](https://github.com/rudderlabs/rudder-transformer/issues/1681) [#1684](https://github.com/rudderlabs/rudder-transformer/issues/1684) [#1685](https://github.com/rudderlabs/rudder-transformer/issues/1685) [#1686](https://github.com/rudderlabs/rudder-transformer/issues/1686) [#1687](https://github.com/rudderlabs/rudder-transformer/issues/1687) [#1688](https://github.com/rudderlabs/rudder-transformer/issues/1688) [#1689](https://github.com/rudderlabs/rudder-transformer/issues/1689) [#1690](https://github.com/rudderlabs/rudder-transformer/issues/1690) [#1691](https://github.com/rudderlabs/rudder-transformer/issues/1691) [#1692](https://github.com/rudderlabs/rudder-transformer/issues/1692) [#1697](https://github.com/rudderlabs/rudder-transformer/issues/1697) [#1699](https://github.com/rudderlabs/rudder-transformer/issues/1699) [#1700](https://github.com/rudderlabs/rudder-transformer/issues/1700) [#1698](https://github.com/rudderlabs/rudder-transformer/issues/1698) [#1704](https://github.com/rudderlabs/rudder-transformer/issues/1704) [#1705](https://github.com/rudderlabs/rudder-transformer/issues/1705) + + +### Bug Fixes + +* minor issues ([#1711](https://github.com/rudderlabs/rudder-transformer/issues/1711)) ([fdea0bd](https://github.com/rudderlabs/rudder-transformer/commit/fdea0bd74529d7f4625885a594eea9fa20a0f20a)) + +### [1.9.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.9.0...v1.9.1) (2022-12-16) + + +### Bug Fixes + +* **trackingplan:** error message population ([#1706](https://github.com/rudderlabs/rudder-transformer/issues/1706)) ([72079a7](https://github.com/rudderlabs/rudder-transformer/commit/72079a7a71f52d44b057df6a910f0b0b54108f72)) + +## [1.9.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.8.0...v1.9.0) (2022-12-16) + + +### Features + +* **destination:** onboard pipedream as event stream source ([#1634](https://github.com/rudderlabs/rudder-transformer/issues/1634)) ([477e2f7](https://github.com/rudderlabs/rudder-transformer/commit/477e2f79704576c5611a9a7e97faf066db10dd87)) +* map the usertraits for all event in Posthog ([#1636](https://github.com/rudderlabs/rudder-transformer/issues/1636)) ([3a12f79](https://github.com/rudderlabs/rudder-transformer/commit/3a12f793073ab360ef5f235aac77b3c587c16006)) +* onboard ga4 hybrid mode ([#1617](https://github.com/rudderlabs/rudder-transformer/issues/1617)) ([0986b76](https://github.com/rudderlabs/rudder-transformer/commit/0986b769d2e2d84314724a16c322cd05d9fa8bd4)) +* onboard pinterest and algolia to json template engine ([#1640](https://github.com/rudderlabs/rudder-transformer/issues/1640)) ([f0f4717](https://github.com/rudderlabs/rudder-transformer/commit/f0f471762dae0ccc8f3449c50f1602bf03a54ec5)) + + +### Bug Fixes + +* **destination:** follow ecommerce spec in tiktok_ads ([#1629](https://github.com/rudderlabs/rudder-transformer/issues/1629)) ([a258bfb](https://github.com/rudderlabs/rudder-transformer/commit/a258bfb4b746aa48c12435792adb477a2957334e)) +* upgrade base node image in dockerfiles ([#1702](https://github.com/rudderlabs/rudder-transformer/issues/1702)) ([a26b20e](https://github.com/rudderlabs/rudder-transformer/commit/a26b20e43915cb8020e46e16c1997b38663f1899)) + +## [1.8.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.7.0...v1.8.0) (2022-12-07) + + +### Features + +* added subscription group in braze ([#1597](https://github.com/rudderlabs/rudder-transformer/issues/1597)) ([f321f4e](https://github.com/rudderlabs/rudder-transformer/commit/f321f4e525c077c06c853530d8c8c23da35baee1)) +* **clevertap:** onboarding clevertap transformer proxy ([#1596](https://github.com/rudderlabs/rudder-transformer/issues/1596)) ([5479aa6](https://github.com/rudderlabs/rudder-transformer/commit/5479aa6afde2171bfd767602c55a36590ed7059b)) +* **destination:** add groupId support as groupKey in mixpanel ([#1590](https://github.com/rudderlabs/rudder-transformer/issues/1590)) ([a33adc6](https://github.com/rudderlabs/rudder-transformer/commit/a33adc6c12a4f7cd6b62955bc29d58206034b3c4)) +* **destination:** cache eviction in salesforce ([#1598](https://github.com/rudderlabs/rudder-transformer/issues/1598)) ([9af5552](https://github.com/rudderlabs/rudder-transformer/commit/9af55520f3199b4ad0027edac4650b81193ff9c5)) +* **destination:** onboard awin integration ([#1589](https://github.com/rudderlabs/rudder-transformer/issues/1589)) ([f015518](https://github.com/rudderlabs/rudder-transformer/commit/f0155185d3a9b9dfa3681a9b52c64fe5e24d6d6d)) +* **destination:** onboard marketo static list ([#1558](https://github.com/rudderlabs/rudder-transformer/issues/1558)) ([db73de9](https://github.com/rudderlabs/rudder-transformer/commit/db73de99dd538eb1c820d3bd2d42689163993cfe)) +* **destination:** onboard persistIq ([#1612](https://github.com/rudderlabs/rudder-transformer/issues/1612)) ([103ad00](https://github.com/rudderlabs/rudder-transformer/commit/103ad00df7d28d3368382cf7b0099c901bb853e4)) +* **destination:** singular- add support for other apple os ([#1611](https://github.com/rudderlabs/rudder-transformer/issues/1611)) ([63f23d8](https://github.com/rudderlabs/rudder-transformer/commit/63f23d8dc8bcf80b84b0976903dfb360785bec86)) +* ga user delete support ([#1531](https://github.com/rudderlabs/rudder-transformer/issues/1531)) ([eb198dd](https://github.com/rudderlabs/rudder-transformer/commit/eb198dd085d16d9c9069352cec8bfb6f33247654)), closes [#1551](https://github.com/rudderlabs/rudder-transformer/issues/1551) +* ga4 hybrid mode suport ([#1607](https://github.com/rudderlabs/rudder-transformer/issues/1607)) ([3edaa10](https://github.com/rudderlabs/rudder-transformer/commit/3edaa10741b2527bb05e13b129f233cba781d1e3)) +* **integration:** shopify- Add topic support in context for debugging ([#1602](https://github.com/rudderlabs/rudder-transformer/issues/1602)) ([ff3fab2](https://github.com/rudderlabs/rudder-transformer/commit/ff3fab2ec13e012aad1920c6b86b6b3e78062690)) +* **integrations:** update primary email for zendesk ([#1604](https://github.com/rudderlabs/rudder-transformer/issues/1604)) ([157f91e](https://github.com/rudderlabs/rudder-transformer/commit/157f91ef5654fddda90e8eb3e1f5899cee681854)) +* onboard olark source ([#1614](https://github.com/rudderlabs/rudder-transformer/issues/1614)) ([64db0ec](https://github.com/rudderlabs/rudder-transformer/commit/64db0ec3a77a58a61d456ac66d91bcc1ee172c64)) +* **source:** onboard satismeter as an event-stream ([#1594](https://github.com/rudderlabs/rudder-transformer/issues/1594)) ([53b9d6f](https://github.com/rudderlabs/rudder-transformer/commit/53b9d6ffaf0db1daa3eda8f8c89a0034cb50164e)) + + +### Bug Fixes + +* bugsnag bug fixes for several destinations and sources ([#1585](https://github.com/rudderlabs/rudder-transformer/issues/1585)) ([c222dc6](https://github.com/rudderlabs/rudder-transformer/commit/c222dc6cbc489d23ad9b38137c449e76084b458e)) +* **destination:** empty params fix in awin ([#1628](https://github.com/rudderlabs/rudder-transformer/issues/1628)) ([e36ab45](https://github.com/rudderlabs/rudder-transformer/commit/e36ab455ce33a308c58aed84c51fef7f9b80ea26)) +* email not required for update call ([#1626](https://github.com/rudderlabs/rudder-transformer/issues/1626)) ([51dcbd9](https://github.com/rudderlabs/rudder-transformer/commit/51dcbd9a0efee2cdc3342bdcc96c67783a5aa118)) +* fixed encryption info and quantity mandatory in CM360 ([#1618](https://github.com/rudderlabs/rudder-transformer/issues/1618)) ([bbe0a26](https://github.com/rudderlabs/rudder-transformer/commit/bbe0a2689930ed783abfd1cf6ea66d50cf1cf826)) +* remove disable destination category for OAuth destinations ([#1601](https://github.com/rudderlabs/rudder-transformer/issues/1601)) ([06f9ee7](https://github.com/rudderlabs/rudder-transformer/commit/06f9ee749d692ec781d53aa229fd58964d0420dd)) +* saas -> master ([#1603](https://github.com/rudderlabs/rudder-transformer/issues/1603)) ([b154e1d](https://github.com/rudderlabs/rudder-transformer/commit/b154e1d61bd894e27f62ecc737d1dd0f1b16d28a)), closes [#1601](https://github.com/rudderlabs/rudder-transformer/issues/1601) [#1606](https://github.com/rudderlabs/rudder-transformer/issues/1606) + +## [1.7.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.6.0...v1.7.0) (2022-11-17) + + +### Features + +* add support for topic parsing ([#1574](https://github.com/rudderlabs/rudder-transformer/issues/1574)) ([da64878](https://github.com/rudderlabs/rudder-transformer/commit/da648788ab0460bd231cf9147fb9852747551ef8)) +* **destination:** add partner_name for tiktok ads ([#1583](https://github.com/rudderlabs/rudder-transformer/issues/1583)) ([12265a9](https://github.com/rudderlabs/rudder-transformer/commit/12265a952a171627ac05d7eab8899d97ceade13c)) +* **destination:** onboard campaign manager ([#1580](https://github.com/rudderlabs/rudder-transformer/issues/1580)) ([b823a53](https://github.com/rudderlabs/rudder-transformer/commit/b823a538ca4d4f38faa4762ae986375e0eb8ae05)) +* sendgrid idetify and user deletion support ([#1571](https://github.com/rudderlabs/rudder-transformer/issues/1571)) ([caee969](https://github.com/rudderlabs/rudder-transformer/commit/caee969c79ce9673096d0fc4d08be3ba942ce9f5)) + + +### Bug Fixes + +* (marketo) logger import ([#1576](https://github.com/rudderlabs/rudder-transformer/issues/1576)) ([c83f046](https://github.com/rudderlabs/rudder-transformer/commit/c83f046ee8baed0e61e8c4d2ac78fec74d74b794)) +* add test coverage for processMetadata function ([#1567](https://github.com/rudderlabs/rudder-transformer/issues/1567)) ([b438daa](https://github.com/rudderlabs/rudder-transformer/commit/b438daad9bf0c845d867e0261ff69e77fc3ee0cd)) +* **destination:** fix the flattening issue solve for ga4 ([#1581](https://github.com/rudderlabs/rudder-transformer/issues/1581)) ([bea730d](https://github.com/rudderlabs/rudder-transformer/commit/bea730da510c016bd3a71cb519316375b44ea6d3)) +* **destination:** revamp group call in Gainsight_PX to reduce API calls ([#1578](https://github.com/rudderlabs/rudder-transformer/issues/1578)) ([f641cc0](https://github.com/rudderlabs/rudder-transformer/commit/f641cc0d3b64fcb736bbd4d5208819958bacb393)) +* **destination:** update formating of user traits in facebook pixel ([#1579](https://github.com/rudderlabs/rudder-transformer/issues/1579)) ([b7772e4](https://github.com/rudderlabs/rudder-transformer/commit/b7772e41530f1d4e88263408d4ff3532c187eaf5)) +* **integration:** Shopify - correct typo in customer_disabled, add to track_maps ([#1573](https://github.com/rudderlabs/rudder-transformer/issues/1573)) ([cfb5c56](https://github.com/rudderlabs/rudder-transformer/commit/cfb5c56bdc70e52dc996fdfc9c26743a6728d875)) +* **transformation:** convert slash to dot to get valid docker image name ([#1564](https://github.com/rudderlabs/rudder-transformer/issues/1564)) ([f1b6b94](https://github.com/rudderlabs/rudder-transformer/commit/f1b6b946e1a6eb519560b675f3fce10d1e833950)) +* typo in topic mapping for shopify source ([#1566](https://github.com/rudderlabs/rudder-transformer/issues/1566)) ([0ecf278](https://github.com/rudderlabs/rudder-transformer/commit/0ecf278be9a2435ed67fee299350a34c4b13bb9a)) + +## [1.6.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.5.0...v1.6.0) (2022-11-10) + + +### Features + +* **destination:** skip unix timestamp conversion if already being sent from source ([#1560](https://github.com/rudderlabs/rudder-transformer/issues/1560)) ([a52cbd7](https://github.com/rudderlabs/rudder-transformer/commit/a52cbd797fa8a0ccec6589ff78b966da26040fbc)) +* **destination:** stringify the object and array for Clevertap ([#1554](https://github.com/rudderlabs/rudder-transformer/issues/1554)) ([1c7b459](https://github.com/rudderlabs/rudder-transformer/commit/1c7b459d74ae0b17360d0e49e9bc11557e6f4233)) +* **destination:** support custom mapping with client_id for ga4 destination ([#1553](https://github.com/rudderlabs/rudder-transformer/issues/1553)) ([e9f056b](https://github.com/rudderlabs/rudder-transformer/commit/e9f056bacad84d7e59e58904626c6eb7edcc4686)) +* **destination:** update identify call to set primary email for Zendesk([#1539](https://github.com/rudderlabs/rudder-transformer/issues/1539)) ([ed307a3](https://github.com/rudderlabs/rudder-transformer/commit/ed307a31ff46575f3a606a0894eeeaaec0b40c00)) +* **marketo:** add dynamic ttl & cache eviction support ([#1519](https://github.com/rudderlabs/rudder-transformer/issues/1519)) ([19f1081](https://github.com/rudderlabs/rudder-transformer/commit/19f1081cc32ba9798876dcb9d46d9d094c171e1d)) +* support custom webhooks in auth0 source transformer ([#1527](https://github.com/rudderlabs/rudder-transformer/issues/1527)) ([ebc005f](https://github.com/rudderlabs/rudder-transformer/commit/ebc005f84d3af4a7a32f362cc7ece842c8f269a1)) + + +### Bug Fixes + +* (marketo)- remove duplicate responseHandler from util and refactor ([#1557](https://github.com/rudderlabs/rudder-transformer/issues/1557)) ([144793e](https://github.com/rudderlabs/rudder-transformer/commit/144793eef2c83b9bc43b989b061c7c7a7c4f07fe)) +* **destination:** do not update event properties to lowercase in hubspot ([#1559](https://github.com/rudderlabs/rudder-transformer/issues/1559)) ([e41b37f](https://github.com/rudderlabs/rudder-transformer/commit/e41b37f38f1f9de87fa452ea30c6587d87a95a5d)) +* ecom events properties mapping correction ([#1549](https://github.com/rudderlabs/rudder-transformer/issues/1549)) ([0e9c816](https://github.com/rudderlabs/rudder-transformer/commit/0e9c816092c5fc777f2d472e13ec3aa94def2160)) +* incorrect lodash cloneDeep import ([#1545](https://github.com/rudderlabs/rudder-transformer/issues/1545)) ([5e70dca](https://github.com/rudderlabs/rudder-transformer/commit/5e70dcae665f3610ea6e65bb2d6303b9a547036e)) +* suppress cdk error types ([#1555](https://github.com/rudderlabs/rudder-transformer/issues/1555)) ([9215a7c](https://github.com/rudderlabs/rudder-transformer/commit/9215a7ca272122199202d26301f9515a1a3bd6b0)) + +## [1.5.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.4.0...v1.5.0) (2022-11-03) + + +### Features + +* added multitopic support for kafka ([#1488](https://github.com/rudderlabs/rudder-transformer/issues/1488)) ([bd1298b](https://github.com/rudderlabs/rudder-transformer/commit/bd1298b57358cf62a2ef7f74fe06ba0200bda488)) +* **new integration:** onboarding snapchat custom audience ([#1443](https://github.com/rudderlabs/rudder-transformer/issues/1443)) ([1e00248](https://github.com/rudderlabs/rudder-transformer/commit/1e0024824074e4b66a67f38302ec02d611e7a8c7)) + + +### Bug Fixes + +* fixing errors caught by bugsnag ([#1536](https://github.com/rudderlabs/rudder-transformer/issues/1536)) ([9c43896](https://github.com/rudderlabs/rudder-transformer/commit/9c43896f27be87d8c024a61b4cb4a09124918f23)) +* suppress errors thrown from the transformers in bugsnag notifier ([#1534](https://github.com/rudderlabs/rudder-transformer/issues/1534)) ([1ca8e9f](https://github.com/rudderlabs/rudder-transformer/commit/1ca8e9f704eb03699c198c91cf1691ccdfa42772)) + +## [1.4.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.3.0...v1.4.0) (2022-11-01) + + +### Features + +* **integration:** onboarding gainsight px source ([#1500](https://github.com/rudderlabs/rudder-transformer/issues/1500)) ([0d0cce5](https://github.com/rudderlabs/rudder-transformer/commit/0d0cce5299b0cad9c616cb7b0bbee92f6f414732)) +* onboard algolia destination to cdk 2.0 ([#1474](https://github.com/rudderlabs/rudder-transformer/issues/1474)) ([e716d84](https://github.com/rudderlabs/rudder-transformer/commit/e716d8458d636854f59a555cafc2a7b00a0b1b50)) + + +### Bug Fixes + +* **amplitude:** send error response instead of discarding the event during batch processing ([#1521](https://github.com/rudderlabs/rudder-transformer/issues/1521)) ([fece19f](https://github.com/rudderlabs/rudder-transformer/commit/fece19fccff44a31d1d96c43bd138ce6f2cce10d)) +* cdk based live compare test results ([#1483](https://github.com/rudderlabs/rudder-transformer/issues/1483)) ([d8f32c3](https://github.com/rudderlabs/rudder-transformer/commit/d8f32c3d522a6e3b33023828e1bd8b870046861f)) +* error stat issue for algolia ([#1528](https://github.com/rudderlabs/rudder-transformer/issues/1528)) ([3a7482c](https://github.com/rudderlabs/rudder-transformer/commit/3a7482cf4f6d37785e9ef595bd7e4a9d54aebedb)) +* upgrade ajv from 8.6.1 to 8.11.0 ([#1372](https://github.com/rudderlabs/rudder-transformer/issues/1372)) ([f3b54c0](https://github.com/rudderlabs/rudder-transformer/commit/f3b54c0876bb7be79244e02e31517db13260c610)) +* upgrade axios from 0.26.1 to 0.27.2 ([#1403](https://github.com/rudderlabs/rudder-transformer/issues/1403)) ([1186518](https://github.com/rudderlabs/rudder-transformer/commit/1186518cf89ad4de3ad16ae0a0fcb09e148bdfe5)) + +## [1.3.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.2.0...v1.3.0) (2022-10-25) + + +### Features + +* **error reporting:** integrate bugsnag ([#1469](https://github.com/rudderlabs/rudder-transformer/issues/1469)) ([39b5fa2](https://github.com/rudderlabs/rudder-transformer/commit/39b5fa22ddb8e79d540242c66732cdcb31760ba9)) +* **integrations:** added support for catalogs iterable with vdm rETL source ([#1439](https://github.com/rudderlabs/rudder-transformer/issues/1439)) ([586f771](https://github.com/rudderlabs/rudder-transformer/commit/586f771f8e0733ac2f79ea4741bb155eb24910ca)) +* **new integration:** factorsAi ([#1490](https://github.com/rudderlabs/rudder-transformer/issues/1490)) ([1000ca8](https://github.com/rudderlabs/rudder-transformer/commit/1000ca8853b48f65bf1e8db0e2999f1d4b47387b)) + + +### Bug Fixes + +* bugsnag error notify handler ([#1512](https://github.com/rudderlabs/rudder-transformer/issues/1512)) ([d947c0e](https://github.com/rudderlabs/rudder-transformer/commit/d947c0ec23998ce54553839cf4b2e337c379713e)) +* **mixpanel:** stripped off last 36 characters of insert_id ([#1503](https://github.com/rudderlabs/rudder-transformer/issues/1503)) ([550faec](https://github.com/rudderlabs/rudder-transformer/commit/550faecae92d48364b0fdebb8e50c057c0dfffe2)) +* posthog group update ([#1496](https://github.com/rudderlabs/rudder-transformer/issues/1496)) ([154f656](https://github.com/rudderlabs/rudder-transformer/commit/154f656e2d437c1c54a6ef85c1b37f65fe154f14)) +* skip adding Id field to salesforce payload for retl ([#1501](https://github.com/rudderlabs/rudder-transformer/issues/1501)) ([d2808f4](https://github.com/rudderlabs/rudder-transformer/commit/d2808f42ae3d3281468dbec1fc13e1511a45ebcd)) +* upgrade @aws-sdk/client-s3 from 3.56.0 to 3.180.0 ([#1505](https://github.com/rudderlabs/rudder-transformer/issues/1505)) ([58c0179](https://github.com/rudderlabs/rudder-transformer/commit/58c01795f2c5b767e614c0d1777d7173eb741d17)) +* upgrade @aws-sdk/lib-storage from 3.56.0 to 3.142.0 ([#1370](https://github.com/rudderlabs/rudder-transformer/issues/1370)) ([94faae5](https://github.com/rudderlabs/rudder-transformer/commit/94faae5fe34ef559b82975d4c53f4bd54b6dbaf1)) + +## [1.2.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.1.0...v1.2.0) (2022-10-18) + + +* release 1.2.0 ([1ce4963](https://github.com/rudderlabs/rudder-transformer/commit/1ce4963a959d38077d5eece1795d7af5b6379314)) + +## [1.1.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.0.0...v1.1.0) (2022-10-17) + + +### Features + +* **integration:** Marketo- attribute to attributes, apiName to name,… ([#1481](https://github.com/rudderlabs/rudder-transformer/issues/1481)) ([e7187d6](https://github.com/rudderlabs/rudder-transformer/commit/e7187d64ef20dd788826eed91a9bd234b778c93a)) + +## [1.0.0](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.5-rc.0...v1.0.0) (2022-10-13) + + +### Features + +* add commit id and version in health endpoint ([#1445](https://github.com/rudderlabs/rudder-transformer/issues/1445)) ([e21dca7](https://github.com/rudderlabs/rudder-transformer/commit/e21dca7106afae7b6150fa8ab85520de321a2ea4)) +* Add library key support ([4aa31af](https://github.com/rudderlabs/rudder-transformer/commit/4aa31afc9828a20132a5b9142279f6d06179039a)) +* Add support for all Apple family OSes ([#925](https://github.com/rudderlabs/rudder-transformer/issues/925)) ([0962527](https://github.com/rudderlabs/rudder-transformer/commit/0962527bbe11927a53dd0c3973d5d39da0b961ce)) +* add Variance as a destination ([c5f84c6](https://github.com/rudderlabs/rudder-transformer/commit/c5f84c6f58b27ee45728f190869e21145a522a62)) +* Added library key support for Amplitude ([5af62c0](https://github.com/rudderlabs/rudder-transformer/commit/5af62c09668eff2ee321dc72eed784c27bb25ee0)) +* Added library key support for Amplitude ([f0cf6b5](https://github.com/rudderlabs/rudder-transformer/commit/f0cf6b526cf3f0dc9ffcc1476df683a351264c04)) +* **Facebook Pixel:** add response parsing support ([#1412](https://github.com/rudderlabs/rudder-transformer/issues/1412)) ([00893c1](https://github.com/rudderlabs/rudder-transformer/commit/00893c1e525473df306648b0946ecb90841c4197)) +* **hs:** Add support for hubspot association events sent from retl ([#1361](https://github.com/rudderlabs/rudder-transformer/issues/1361)) ([b18c93f](https://github.com/rudderlabs/rudder-transformer/commit/b18c93f9865b4ecb0b5025370c544c58102a4df0)) +* integrate cdk v2 ([#1448](https://github.com/rudderlabs/rudder-transformer/issues/1448)) ([d5086c2](https://github.com/rudderlabs/rudder-transformer/commit/d5086c2f0807424ac4e66a6c12e59b07eada5cbe)) +* **integration:** fb custom audience - upgrade v14 to v15 ([#1463](https://github.com/rudderlabs/rudder-transformer/issues/1463)) ([f83a4b6](https://github.com/rudderlabs/rudder-transformer/commit/f83a4b607fdf02746e60c103e8a29850caeca9e3)) +* **integration:** marketo - correct attribute to attributes, fix test cases ([#1446](https://github.com/rudderlabs/rudder-transformer/issues/1446)) ([80b148f](https://github.com/rudderlabs/rudder-transformer/commit/80b148fabb0eb49ac132e196c2aae0e5be3fed6f)) +* **integration:** onboard Facebook Offline Conversions destination ([#1462](https://github.com/rudderlabs/rudder-transformer/issues/1462)) ([9f0413b](https://github.com/rudderlabs/rudder-transformer/commit/9f0413b8285793ced787cd385beed956b675982a)) +* **integration:** Singular- allow empty string by default for instal… ([#1480](https://github.com/rudderlabs/rudder-transformer/issues/1480)) ([c44dec2](https://github.com/rudderlabs/rudder-transformer/commit/c44dec2a0d6952647489754b3bd5d7917d563251)) +* **integration:** Singular- unixtimestamp format fixes and empty url allowed for openuri ([#1476](https://github.com/rudderlabs/rudder-transformer/issues/1476)) ([66c1efd](https://github.com/rudderlabs/rudder-transformer/commit/66c1efd87878485c78a01f82ec8cafd21056f8a6)) +* **integrations:** user deletion support for mp, clevertap, and af destinations ([#1426](https://github.com/rudderlabs/rudder-transformer/issues/1426)) ([b5c5d6f](https://github.com/rudderlabs/rudder-transformer/commit/b5c5d6fbb9023fbf86e370366ab3f6818b4c343b)) +* json support for warehouse destinations ([#1144](https://github.com/rudderlabs/rudder-transformer/issues/1144)) ([a431b08](https://github.com/rudderlabs/rudder-transformer/commit/a431b087e139a26477050f64ee26dbbe473899a9)) +* Klaviyo ecommerce Specs ([#904](https://github.com/rudderlabs/rudder-transformer/issues/904)) ([5dd5329](https://github.com/rudderlabs/rudder-transformer/commit/5dd53296fbe4add44cc4acb330a61d5e4e11ddc9)) +* migrate pinterest to cdk ([#1458](https://github.com/rudderlabs/rudder-transformer/issues/1458)) ([addff70](https://github.com/rudderlabs/rudder-transformer/commit/addff70d77e50b53cb7bb10fa4f4f59523f38f57)) +* **new integration:** google adwords offline conversions onboarding ([#1397](https://github.com/rudderlabs/rudder-transformer/issues/1397)) ([4974b6d](https://github.com/rudderlabs/rudder-transformer/commit/4974b6d40c6cfcae0f455bc18704137d9b921192)) +* **new integration:** june cloud mode destination onboarding ([#1433](https://github.com/rudderlabs/rudder-transformer/issues/1433)) ([458b32c](https://github.com/rudderlabs/rudder-transformer/commit/458b32c2d4e0100a56eb084128ca0aa76e2a006c)) +* **new integration:** onboard Monday cloud mode destination ([#1400](https://github.com/rudderlabs/rudder-transformer/issues/1400)) ([f4e5cc4](https://github.com/rudderlabs/rudder-transformer/commit/f4e5cc4542a4cd729d8e8c77d4973dbe858bb6db)) +* **new integration:** onboarding mailjet ([#1449](https://github.com/rudderlabs/rudder-transformer/issues/1449)) ([81de8a1](https://github.com/rudderlabs/rudder-transformer/commit/81de8a16c6d1cdeb3ac8b27a7d8a0cd51fc2c4af)) +* **new integration:** onboarding mailmodo source ([#1414](https://github.com/rudderlabs/rudder-transformer/issues/1414)) ([e3689c2](https://github.com/rudderlabs/rudder-transformer/commit/e3689c249fd92baa9b3d640c0802f71b78d22650)) +* **serenytics:** onboarding serenytics cloud mode destinations ([#1430](https://github.com/rudderlabs/rudder-transformer/issues/1430)) ([b7e93e3](https://github.com/rudderlabs/rudder-transformer/commit/b7e93e310903e93c39403f1f4b819c14e09d528d)) +* **signl4:** onboarding signl4 cloud mode destination ([#1424](https://github.com/rudderlabs/rudder-transformer/issues/1424)) ([47bd3f8](https://github.com/rudderlabs/rudder-transformer/commit/47bd3f817a4df4d555a8ede656a8b311a4232519)) +* support 'event' alias for 'message' in dynamic config ([#1289](https://github.com/rudderlabs/rudder-transformer/issues/1289)) ([ff6abb8](https://github.com/rudderlabs/rudder-transformer/commit/ff6abb8d4e89af154289b246b33f6e988c0efcbd)) +* **transformation:** update env varibale name ([d904828](https://github.com/rudderlabs/rudder-transformer/commit/d904828e47a94d82a8428cf376dea5eb926d44a4)) + + +### Bug Fixes + +* address async and flow type issues ([#1457](https://github.com/rudderlabs/rudder-transformer/issues/1457)) ([632f74e](https://github.com/rudderlabs/rudder-transformer/commit/632f74e5f1d35d882ed6531f2af84b7d1fba0472)) +* **algolia:** adding check on eventTypeSetting availability ([#1423](https://github.com/rudderlabs/rudder-transformer/issues/1423)) ([d8572ff](https://github.com/rudderlabs/rudder-transformer/commit/d8572ff4949513573d5f7367fa0dc0811086e61f)) +* **appsflyer:** event name casing in track payloads ([#1390](https://github.com/rudderlabs/rudder-transformer/issues/1390)) ([3b22f18](https://github.com/rudderlabs/rudder-transformer/commit/3b22f1840acaf57b110ff67a9805be6d2bf7b062)) +* **braze:** adding dynamic support for eu data center ([#1236](https://github.com/rudderlabs/rudder-transformer/issues/1236)) ([90bc03f](https://github.com/rudderlabs/rudder-transformer/commit/90bc03f00d8ce48b8e93f28c06863c80c353116f)) +* docker vulnerabilities ([#1435](https://github.com/rudderlabs/rudder-transformer/issues/1435)) ([27084e2](https://github.com/rudderlabs/rudder-transformer/commit/27084e2c483bec679c9988a998b087a558bc5826)) +* facebook pixel proxy tests ([#1444](https://github.com/rudderlabs/rudder-transformer/issues/1444)) ([f632583](https://github.com/rudderlabs/rudder-transformer/commit/f6325833244affaffad8aa311466c1596ef01cdd)) +* Fix test case ([ac2342d](https://github.com/rudderlabs/rudder-transformer/commit/ac2342d43feabe92c7ed23495e02d9f77fb5fccd)) +* **ga:** Do not fallback to userId for cid when disableMd5 is true, keep it undefined ([ad72d59](https://github.com/rudderlabs/rudder-transformer/commit/ad72d5962c19b00ae9dbbb3cec0cc6b223c7683d)) +* **hs:** logic for custom objects support of hs with rETL ([#1222](https://github.com/rudderlabs/rudder-transformer/issues/1222)) ([5353bcc](https://github.com/rudderlabs/rudder-transformer/commit/5353bcc33f7b077aa5240ac653c747aa6f3fd4b6)) +* kafka schemaId ([#1283](https://github.com/rudderlabs/rudder-transformer/issues/1283)) ([214d5d5](https://github.com/rudderlabs/rudder-transformer/commit/214d5d53edb20b6b994d3b01bee8dddcc4fe2128)) +* **marketo:** unhandled exception status-code fix ([#1432](https://github.com/rudderlabs/rudder-transformer/issues/1432)) ([6cc4868](https://github.com/rudderlabs/rudder-transformer/commit/6cc48688c82ba501b296c1171c0327cc91e33e4d)) +* Remove event type guard that prevent traits from copying to user props ([e276ade](https://github.com/rudderlabs/rudder-transformer/commit/e276ade3c57c4556399a5be8b09f15a1877c5a2b)) +* **signl4:** correcting timestamp format ([#1431](https://github.com/rudderlabs/rudder-transformer/issues/1431)) ([18632e6](https://github.com/rudderlabs/rudder-transformer/commit/18632e632330db753eabe1fe4d90f22703979c1b)) +* **trackingplan:** adding message type optional check in tp source config ([60f0658](https://github.com/rudderlabs/rudder-transformer/commit/60f0658a5b7701d8d545ebfb838bfa19cc68c6e2)) +* upgrade dotenv from 8.2.0 to 8.6.0 ([#1389](https://github.com/rudderlabs/rudder-transformer/issues/1389)) ([1c3d001](https://github.com/rudderlabs/rudder-transformer/commit/1c3d001f8c35d0885497faa87c8ce728d6403efe)) +* upgrade koa from 2.13.0 to 2.13.4 ([#1398](https://github.com/rudderlabs/rudder-transformer/issues/1398)) ([213e30e](https://github.com/rudderlabs/rudder-transformer/commit/213e30e4c04481ee4aa9d59c346ed959acfd5bb5)) +* upgrade ua-parser-js from 0.7.24 to 0.8.1 ([#1378](https://github.com/rudderlabs/rudder-transformer/issues/1378)) ([a50899b](https://github.com/rudderlabs/rudder-transformer/commit/a50899b6780d3f640c260830c74f28cd4b1d9b5d)) +* vulnerabilities in dependencies ([#1436](https://github.com/rudderlabs/rudder-transformer/issues/1436)) ([a26e7f5](https://github.com/rudderlabs/rudder-transformer/commit/a26e7f54d5aaafa48c20826cd5dd5f3f8f30e39f)) + +### [0.1.5-rc.0](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.4...v0.1.5-rc.0) (2020-03-16) + +### [0.1.4](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.3...v0.1.4) (2020-03-02) + +### [0.1.3](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.2...v0.1.3) (2020-02-11) + +### [0.1.2](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.1...v0.1.2) (2020-02-07) + + +### Bug Fixes + +* salesforce tests ([86500b8](https://github.com/rudderlabs/rudder-transformer/commit/86500b832610f047666a4fe4799a843c5a1fb6e9)) + +### [0.1.1](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.0...v0.1.1) (2019-11-05) + +## 0.1.0 (2019-10-24) + ## [1.19.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.18.0...v1.19.0) (2023-03-23) diff --git a/package-lock.json b/package-lock.json index 7357868b3d..74994b33e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.19.0", + "version": "1.20.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 658e4b6488..409fdf8ac3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.19.0", + "version": "1.20.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 7e47c2268d27773f8b3ee567f6f25f3f91b9b5be Mon Sep 17 00:00:00 2001 From: saikumarrs Date: Mon, 27 Mar 2023 12:58:03 +0530 Subject: [PATCH 06/17] chore: empty commit to trigger From 906c9d5fe3d72ea5316ced4df5fd5a046c7a64f6 Mon Sep 17 00:00:00 2001 From: Jayachand Date: Mon, 27 Mar 2023 13:18:18 +0530 Subject: [PATCH 07/17] chore: stats to user transformer (#1989) --- src/util/customTransformer-faas.js | 2 +- src/util/customTransformer-lambda.js | 4 ++-- src/util/customTransformer-v1.js | 2 +- src/util/customTransformer.js | 2 +- src/util/utils.js | 4 ++-- src/versionedRouter.js | 24 ++++++++++++------------ 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/util/customTransformer-faas.js b/src/util/customTransformer-faas.js index 7ec211c5d6..ad1bc1c653 100644 --- a/src/util/customTransformer-faas.js +++ b/src/util/customTransformer-faas.js @@ -127,7 +127,7 @@ async function runOpenFaasUserTransform(events, userTransformation, libraryVersi } const invokeTime = new Date(); - stats.gauge('events_to_process', events.length, tags); + stats.counter('events_to_process', events.length, tags); const result = await executeFaasFunction( functionName, events, diff --git a/src/util/customTransformer-lambda.js b/src/util/customTransformer-lambda.js index 827232bed7..f4a9ca34a5 100644 --- a/src/util/customTransformer-lambda.js +++ b/src/util/customTransformer-lambda.js @@ -15,7 +15,7 @@ async function runLambdaUserTransform(events, userTransformation, testMode = fal ...metaTags, }; if (!testMode && !userTransformation.handleId) { - stats.gauge('missing_handle', 1, tags); + stats.counter('missing_handle', 1, tags); throw new Error('Handle id is not connected to transformation'); } @@ -24,7 +24,7 @@ async function runLambdaUserTransform(events, userTransformation, testMode = fal : `${userTransformation.workspaceId}_${userTransformation.id}`; const qualifier = userTransformation.handleId; const invokeTime = new Date(); - stats.gauge('events_to_process', events.length, tags); + stats.counter('events_to_process', events.length, tags); const result = await invokeLambda(functionName, events, qualifier); stats.timing('run_time', invokeTime, tags); diff --git a/src/util/customTransformer-v1.js b/src/util/customTransformer-v1.js index 4ab8a4229f..329cca140a 100644 --- a/src/util/customTransformer-v1.js +++ b/src/util/customTransformer-v1.js @@ -78,7 +78,7 @@ async function userTransformHandlerV1( logger.debug(`Isolate VM created... `); // Transform the event... - stats.gauge('events_to_process', events.length, tags); + stats.counter('events_to_process', events.length, tags); const isolateStartWallTime = calculateMsFromIvmTime(isolatevm.isolateStartWallTime); const isolateStartCPUTime = calculateMsFromIvmTime(isolatevm.isolateStartCPUTime); diff --git a/src/util/customTransformer.js b/src/util/customTransformer.js index cfbe74d429..a738f0d163 100644 --- a/src/util/customTransformer.js +++ b/src/util/customTransformer.js @@ -168,7 +168,7 @@ async function runUserTransform(events, code, secrets, eventsMetadata, versionId await customScript.run(context); const fnRef = await jail.get('transform', { reference: true }); // stat - stats.gauge('events_to_process', events.length, tags); + stats.counter('events_to_process', events.length, tags); // TODO : check if we can resolve this // eslint-disable-next-line no-async-promise-executor const executionPromise = new Promise(async (resolve, reject) => { diff --git a/src/util/utils.js b/src/util/utils.js index 5c94a82e97..3fd488104f 100644 --- a/src/util/utils.js +++ b/src/util/utils.js @@ -40,10 +40,10 @@ const sendViolationMetrics = (validationErrors, dropped, metaTags) => { Object.entries(vTags).forEach(([key, value]) => { if (value > 0) { - stats.gauge('hv_metrics', value, { ...metaTags, dropped, violationType: key }); + stats.counter('hv_metrics', value, { ...metaTags, dropped, violationType: key }); } }); - stats.gauge('hv_metrics', validationErrors.length, { + stats.counter('hv_metrics', validationErrors.length, { ...metaTags, dropped, violationType: 'Total', diff --git a/src/versionedRouter.js b/src/versionedRouter.js index 7f06fb12e4..7994db0587 100644 --- a/src/versionedRouter.js +++ b/src/versionedRouter.js @@ -360,7 +360,7 @@ async function handleValidation(ctx) { validationErrors: hv.validationErrors, error: errMessage, }); - stats.gauge('hv_violation_type', 1, { + stats.counter('hv_violation_type', 1, { violationType: hv.violationType, ...metaTags, }); @@ -371,7 +371,7 @@ async function handleValidation(ctx) { statusCode: 200, validationErrors: hv.validationErrors, }); - stats.gauge('hv_propagated_events', 1, { + stats.counter('hv_propagated_events', 1, { ...metaTags, }); } @@ -392,7 +392,7 @@ async function handleValidation(ctx) { validationErrors: [], error: errMessage, }); - stats.gauge('hv_errors', 1, { + stats.counter('hv_errors', 1, { ...metaTags, }); } finally { @@ -405,10 +405,10 @@ async function handleValidation(ctx) { ctx.status = ctxStatusCode; ctx.set('apiVersion', API_VERSION); - stats.gauge('hv_events_count', events.length, { + stats.counter('hv_events_count', events.length, { ...metaTags, }); - stats.gauge('hv_request_size', requestSize, { + stats.counter('hv_request_size', requestSize, { ...metaTags, }); stats.timing('hv_request_latency', requestStartTime, { @@ -636,7 +636,7 @@ if (startDestTransformer) { const events = ctx.request.body; const { processSessions } = ctx.query; logger.debug(`[CT] Input events: ${JSON.stringify(events)}`); - stats.gauge('user_transform_input_events', events.length, { + stats.counter('user_transform_input_events', events.length, { processSessions, }); let groupedEvents; @@ -652,7 +652,7 @@ if (startDestTransformer) { (event) => `${event.metadata.destinationId}_${event.metadata.sourceId}`, ); } - stats.gauge('user_transform_function_group_size', Object.entries(groupedEvents).length, { + stats.counter('user_transform_function_group_size', Object.entries(groupedEvents).length, { processSessions, }); @@ -687,7 +687,7 @@ if (startDestTransformer) { if (transformationVersionId) { let destTransformedEvents; try { - stats.gauge('user_transform_function_input_events', destEvents.length, { + stats.counter('user_transform_function_input_events', destEvents.length, { processSessions, ...metaTags, }); @@ -737,7 +737,7 @@ if (startDestTransformer) { error: errorString, })); transformedEvents.push(...destTransformedEvents); - stats.gauge('user_transform_errors', destEvents.length, { + stats.counter('user_transform_errors', destEvents.length, { transformationVersionId, processSessions, ...metaTags, @@ -757,7 +757,7 @@ if (startDestTransformer) { error: errorMessage, metadata: commonMetadata, }); - stats.gauge('user_transform_errors', destEvents.length, { + stats.counter('user_transform_errors', destEvents.length, { transformationVersionId, processSessions, ...metaTags, @@ -772,8 +772,8 @@ if (startDestTransformer) { stats.timing('user_transform_request_latency', startTime, { processSessions, }); - stats.gauge('user_transform_requests', 1, { processSessions }); - stats.gauge('user_transform_output_events', transformedEvents.length, { + stats.counter('user_transform_requests', 1, { processSessions }); + stats.counter('user_transform_output_events', transformedEvents.length, { processSessions, }); }); From a291bc098933e272c95dc58215e0418d2047c182 Mon Sep 17 00:00:00 2001 From: Yashasvi Bajpai <33063622+yashasvibajpai@users.noreply.github.com> Date: Mon, 27 Mar 2023 15:55:36 +0530 Subject: [PATCH 08/17] refactor(integration): adobe analytics - implementation improvements (#1818) * refactor(integration): adobe analytics - remove productMerchEventToAdobeEvent dependency, refactor to util * fix: variable name changes, common method implementation - lowercasing event once * refactor: rudder properites to ui mentioned mappings for hier and eVar * refactor(integration): update evar and hier to handle values from ctxt and traits, allow ecom events w/o prodmerch mapping, temp fix tests * refactor(integration): add support for absolute path mapping, general fixes for ecom events, add link values support * refactor(integration): adobe_analytics - add descriptive testcases * refactor(integration): adobe_analytics - fix tests * refactor: add inline documentation links * fix: default linkname to page view for page calls * feat: add support for override fields for evar, hier, list, custom prop and custom events * refactor: add support for overriding end values for evar, hier, list, props, events and products * test: add test * chore: dummy commit to trigger GH actions * refactor: address comments, refactor list and props handling --------- Co-authored-by: Sai Sankeerth Co-authored-by: Dilip Kola <33080863+koladilip@users.noreply.github.com> Co-authored-by: Utsab Chowdhury Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com> --- src/constants/destinationCanonicalNames.js | 1 + src/v0/destinations/adobe_analytics/config.js | 20 + .../destinations/adobe_analytics/transform.js | 311 +- src/v0/destinations/adobe_analytics/utils.js | 198 + test/__tests__/adobe_analytics.test.js | 39 +- test/__tests__/data/adobe_analytics.json | 2890 ++++++++ .../__tests__/data/adobe_analytics_input.json | 6398 ----------------- .../data/adobe_analytics_output.json | 484 -- 8 files changed, 3257 insertions(+), 7084 deletions(-) create mode 100644 src/v0/destinations/adobe_analytics/utils.js create mode 100644 test/__tests__/data/adobe_analytics.json delete mode 100644 test/__tests__/data/adobe_analytics_input.json delete mode 100644 test/__tests__/data/adobe_analytics_output.json diff --git a/src/constants/destinationCanonicalNames.js b/src/constants/destinationCanonicalNames.js index f604c0225e..bec0c901b5 100644 --- a/src/constants/destinationCanonicalNames.js +++ b/src/constants/destinationCanonicalNames.js @@ -87,6 +87,7 @@ const DestCanonicalNames = { ga4: ['GA4', 'ga4', 'Ga4', 'Google Analytics 4', 'googleAnalytics4'], pipedream: ['Pipedream', 'PipeDream', 'pipedream', 'PIPEDREAM'], pagerduty: ['pagerduty', 'PAGERDUTY', 'PagerDuty', 'Pagerduty', 'pagerDuty'], + adobe_analytics: ['adobe_analytics', 'ADOBE_ANALYTICS'], criteo_audience: [ 'criteo audience', 'criteoAudience', diff --git a/src/v0/destinations/adobe_analytics/config.js b/src/v0/destinations/adobe_analytics/config.js index cb4c947a8e..08fce3bb4c 100644 --- a/src/v0/destinations/adobe_analytics/config.js +++ b/src/v0/destinations/adobe_analytics/config.js @@ -4,6 +4,25 @@ const CONFIG_CATEGORIES = { COMMON: { name: 'AACommonConfig' } }; const MAPPING_CONFIG = getMappingConfig(CONFIG_CATEGORIES, __dirname); +const ECOM_PRODUCT_EVENTS = [ + 'product viewed', + 'viewed product', + 'product list viewed', + 'viewed product list', + 'product added', + 'added product', + 'product removed', + 'removed product', + 'order completed', + 'completed order', + 'cart viewed', + 'viewed cart', + 'checkout started', + 'started checkout', + 'cart opened', + 'opened cart', +]; + const formatDestinationConfig = (config) => ({ ...config, eventsToTypes: getHashFromArray(config.eventsToTypes), @@ -22,6 +41,7 @@ const formatDestinationConfig = (config) => ({ }); module.exports = { + ECOM_PRODUCT_EVENTS, commonConfig: MAPPING_CONFIG[CONFIG_CATEGORIES.COMMON.name], formatDestinationConfig, }; diff --git a/src/v0/destinations/adobe_analytics/transform.js b/src/v0/destinations/adobe_analytics/transform.js index 9869b33e25..12197a21b1 100644 --- a/src/v0/destinations/adobe_analytics/transform.js +++ b/src/v0/destinations/adobe_analytics/transform.js @@ -1,7 +1,7 @@ const jsonxml = require('jsontoxml'); const get = require('get-value'); const { EventType } = require('../../../constants'); -const { commonConfig, formatDestinationConfig } = require('./config'); +const { ECOM_PRODUCT_EVENTS, commonConfig, formatDestinationConfig } = require('./config'); const { constructPayload, defaultPostRequestConfig, @@ -10,7 +10,7 @@ const { getFieldValueFromMessage, isDefinedAndNotNull, isDefinedAndNotNullAndNotEmpty, - + getIntegrationsObj, simpleProcessRouterDest, } = require('../../util'); const { @@ -19,44 +19,35 @@ const { ConfigurationError, } = require('../../util/errorTypes'); -const responseBuilderSimple = async (message, destination, basicPayload) => { - const payload = constructPayload(message, commonConfig); - const { context, properties } = message; +const { + handleContextData, + handleEvar, + handleHier, + handleList, + handleCustomProperties, + stringifyValueAndJoinWithDelimitter, +} = require('./utils'); +/* + Configuration variables documentation: https://experienceleague.adobe.com/docs/analytics/implementation/vars/config-vars/configuration-variables.html?lang=en + Page variables documentation: https://experienceleague.adobe.com/docs/analytics/implementation/vars/page-vars/page-variables.html?lang=en +*/ +const responseBuilderSimple = async (message, destinationConfig, basicPayload) => { + let payload = constructPayload(message, commonConfig); + const { event, context, properties } = message; + const { overrideEvars, overrideHiers, overrideLists, overrideCustomProperties } = properties; // handle contextData - const { contextDataPrefix, contextDataMapping } = destination; - const cDataPrefix = contextDataPrefix ? `${contextDataPrefix}` : ''; - const contextData = {}; - Object.keys(contextDataMapping).forEach((key) => { - const val = - get(message, key) || - get(message, `properties.${key}`) || - get(message, `traits.${key}`) || - get(message, `context.traits.${key}`); - if (isDefinedAndNotNull(val)) { - contextData[`${cDataPrefix}${contextDataMapping[key]}`] = val; - } - }); - if (Object.keys(contextData).length > 0) { - // non-empty object - payload.contextData = contextData; - } + payload = handleContextData(payload, destinationConfig, message); // handle eVar - const { eVarMapping } = destination; - const eVar = {}; - Object.keys(eVarMapping).forEach((key) => { - const val = get(message, `properties.${key}`); - if (isDefinedAndNotNull(val)) { - eVar[`eVar${eVarMapping[key]}`] = val; - } - }); - if (Object.keys(eVar).length > 0) { - // non-empty object - Object.assign(payload, eVar); + if (overrideEvars) { + Object.assign(payload, overrideEvars); + } else { + payload = handleEvar(payload, destinationConfig, message); } // handle fallbackVisitorId - const { noFallbackVisitorId } = destination; + const { noFallbackVisitorId } = destinationConfig; + // 'AdobeFallbackVisitorId' should be the type of external id in the payload i.e "AdobeFallbackVisitorId": "value" if (!noFallbackVisitorId) { const fallbackVisitorId = getDestinationExternalID(message, 'AdobeFallbackVisitorId'); if (isDefinedAndNotNull(fallbackVisitorId)) { @@ -64,87 +55,57 @@ const responseBuilderSimple = async (message, destination, basicPayload) => { } } + // handle link values + // default linktype to 'o', linkName to event name, linkURL to ctx.page.url if not passed in integrations object + const adobeIntegrationsObject = getIntegrationsObj(message, 'adobe_analytics'); + payload.linkType = adobeIntegrationsObject?.linkType || 'o'; + payload.linkName = adobeIntegrationsObject?.linkName || event; + // setting linkname to page view for page calls + if (message.type === 'page') { + payload.linkName = 'page view'; + } + payload.linkURL = adobeIntegrationsObject?.linkURL || context?.page?.url || 'No linkURL provided'; + // handle hier - const { hierMapping } = destination; - const hier = {}; - Object.keys(hierMapping).forEach((key) => { - const val = get(message, `properties.${key}`); - if (isDefinedAndNotNull(val)) { - hier[`hier${hierMapping[key]}`] = val; - } - }); - if (Object.keys(hier).length > 0) { - // non-empty object - Object.assign(payload, hier); + if (overrideHiers) { + Object.assign(payload, overrideHiers); + } else { + payload = handleHier(payload, destinationConfig, message); } // handle list - const { listMapping, listDelimiter, trackPageName } = destination; - const list = {}; - if (properties) { - Object.keys(properties).forEach((key) => { - if (listMapping[key] && listDelimiter[key]) { - let val = get(message, `properties.${key}`); - if (typeof val !== 'string' && !Array.isArray(val)) { - throw new ConfigurationError( - 'List Mapping properties variable is neither a string nor an array', - ); - } - if (typeof val === 'string') { - val = val.replace(/\s*,+\s*/g, listDelimiter[key]); - } else { - val = val.join(listDelimiter[key]); - } - - list[`list${listMapping[key]}`] = val.toString(); - } - }); - } - // add to the payload - if (Object.keys(list).length > 0) { - Object.assign(payload, list); + if (overrideLists) { + Object.assign(payload, overrideLists); + } else { + payload = handleList(payload, destinationConfig, message, properties); } // handle pageName, pageUrl - const contextPageUrl = context && context.page ? context.page.url : undefined; - const propertiesPageUrl = properties && properties.pageUrl; + const contextPageUrl = context?.page?.url; + const { trackPageName } = destinationConfig; + const propertiesPageUrl = properties?.pageUrl; const pageUrl = contextPageUrl || propertiesPageUrl; if (isDefinedAndNotNullAndNotEmpty(pageUrl)) { payload.pageUrl = pageUrl; } if (trackPageName) { - const contextPageName = context && context.page ? context.page.name : undefined; - const propertiesPageName = properties && properties.pageName; + // better handling possible here, both error and implementation wise + const contextPageName = context?.page?.name; + const propertiesPageName = properties?.pageName; const pageName = propertiesPageName || contextPageName; if (isDefinedAndNotNullAndNotEmpty(pageName)) { payload.pageName = pageName; + } else { + // pageName is defaulted to URL. + payload.pageName = pageUrl; } } // handle custom properties - const { customPropsMapping, propsDelimiter } = destination; - const props = {}; - if (properties) { - Object.keys(properties).forEach((key) => { - if (customPropsMapping[key]) { - let val = get(message, `properties.${key}`); - if (typeof val !== 'string' && !Array.isArray(val)) { - throw new InstrumentationError('prop variable is neither a string nor an array'); - } - const delimeter = propsDelimiter[key] || '|'; - if (typeof val === 'string') { - val = val.replace(/\s*,+\s*/g, delimeter); - } else { - val = val.join(delimeter); - } - - props[`prop${customPropsMapping[key]}`] = val.toString(); - } - }); - } - // add to the payload - if (Object.keys(props).length > 0) { - Object.assign(payload, props); + if (overrideCustomProperties) { + Object.assign(payload, overrideCustomProperties); + } else { + payload = handleCustomProperties(payload, destinationConfig, message, properties); } // handle visitorID and timestamp @@ -154,7 +115,7 @@ const responseBuilderSimple = async (message, destination, basicPayload) => { preferVisitorId, timestampOptionalReporting, reportSuiteIds, - } = destination; + } = destinationConfig; if (!dropVisitorId) { const userId = getFieldValueFromMessage(message, 'userIdOnly'); if (isDefinedAndNotNullAndNotEmpty(userId)) { @@ -169,14 +130,16 @@ const responseBuilderSimple = async (message, destination, basicPayload) => { } if (timestampOptionalReporting) { - const timestamp = getFieldValueFromMessage(message, 'timestamp'); + const timestamp = + getFieldValueFromMessage(message, 'timestamp') || + getFieldValueFromMessage(message, 'originalTimestamp'); if (timestampOption === 'enabled' || (timestampOption === 'hybrid' && !preferVisitorId)) { payload.timestamp = timestamp; } } // handle marketingcloudorgid - const { marketingCloudOrgId } = destination; + const { marketingCloudOrgId } = destinationConfig; if (isDefinedAndNotNull(marketingCloudOrgId)) { payload.marketingcloudorgid = marketingCloudOrgId; } @@ -192,9 +155,9 @@ const responseBuilderSimple = async (message, destination, basicPayload) => { true, // add generic XML header ); - const { trackingServerSecureUrl } = destination; + const { trackingServerSecureUrl } = destinationConfig; const response = defaultRequestConfig(); - response.method = defaultPostRequestConfig.requestMethod; + response.method = defaultPostRequestConfig?.requestMethod; response.body.XML = { payload: xmlResponse }; response.endpoint = trackingServerSecureUrl.startsWith('https') ? `${trackingServerSecureUrl}/b/ss//6` @@ -206,7 +169,7 @@ const responseBuilderSimple = async (message, destination, basicPayload) => { return response; }; -const processTrackEvent = (message, adobeEventName, destination, extras = {}) => { +const processTrackEvent = (message, adobeEventName, destinationConfig, extras = {}) => { // set event string and product string only // handle extra properties // rest of the properties are handled under common properties @@ -217,18 +180,22 @@ const processTrackEvent = (message, adobeEventName, destination, extras = {}) => productIdentifier, productMerchProperties, productMerchEvarsMap, - } = destination; - const { event, properties } = message; + } = destinationConfig; + const { event: rawMessageEvent, properties } = message; + const { overrideEventString, overrideProductString, products } = properties; + const event = rawMessageEvent.toLowerCase(); const adobeEventArr = adobeEventName ? adobeEventName.split(',') : []; + // adobeEventArr is an array of events which is defined as + // ["eventName", "mapped Adobe Event=mapped merchproperty's value", "mapped Adobe Event=mapped merchproperty's value", . . .] // merch event section - if (eventMerchEventToAdobeEvent[event.toLowerCase()] && eventMerchProperties) { - const adobeMerchEvent = eventMerchEventToAdobeEvent[event.toLowerCase()].split(','); + if (eventMerchEventToAdobeEvent[event] && eventMerchProperties) { + const adobeMerchEvent = eventMerchEventToAdobeEvent[event].split(','); eventMerchProperties.forEach((rudderProp) => { if (rudderProp.eventMerchProperties in properties) { adobeMerchEvent.forEach((value) => { - if (properties[rudderProp.eventMerchProperties]) { - const merchEventString = `${value}=${properties[rudderProp.eventMerchProperties]}`; + if (properties[rudderProp?.eventMerchProperties]) { + const merchEventString = `${value}=${properties[rudderProp?.eventMerchProperties]}`; adobeEventArr.push(merchEventString); } }); @@ -236,44 +203,49 @@ const processTrackEvent = (message, adobeEventName, destination, extras = {}) => }); } - if (productMerchEventToAdobeEvent[event.toLowerCase()]) { + if (productMerchEventToAdobeEvent[event]) { Object.keys(productMerchEventToAdobeEvent).forEach((value) => { adobeEventArr.push(productMerchEventToAdobeEvent[value]); }); } // product string section - const adobeProdEvent = productMerchEventToAdobeEvent[event.toLowerCase()]; + const adobeProdEvent = productMerchEventToAdobeEvent[event]; const prodString = []; - if (adobeProdEvent) { + let prodEventString = ''; + let prodEVarsString = ''; + + if (adobeProdEvent || ECOM_PRODUCT_EVENTS.includes(event.toLowerCase())) { const isSingleProdEvent = adobeProdEvent === 'scAdd' || adobeProdEvent === 'scRemove' || (adobeProdEvent === 'prodView' && event.toLowerCase() !== 'product list viewed') || - !Array.isArray(properties.products); - const productsArr = isSingleProdEvent ? [properties] : properties.products; - const adobeProdEventArr = adobeProdEvent.split(','); + !Array.isArray(products); + const productsArr = isSingleProdEvent ? [properties] : products; + let adobeProdEventArr = []; + if (adobeProdEvent) { + adobeProdEventArr = adobeProdEvent.split(','); + } productsArr.forEach((value) => { - const category = value.category || ''; - const quantity = value.quantity || 1; - const total = value.price ? (value.price * quantity).toFixed(2) : 0; - let item; + const category = value?.category || ''; + const quantity = value?.quantity || 1; + const total = value?.price ? (value.price * quantity).toFixed(2) : 0; + let item = value[productIdentifier]; if (productIdentifier === 'id') { - item = value.product_id || value.id; - } else { - item = value[productIdentifier]; + item = value?.product_id || value?.id; } const merchMap = []; - if (productMerchEventToAdobeEvent[event.toLowerCase()] && productMerchProperties) { + if (productMerchEventToAdobeEvent[event] && productMerchProperties) { productMerchProperties.forEach((rudderProp) => { // adding product level merchandise properties if ( rudderProp.productMerchProperties.startsWith('products.') && isSingleProdEvent === false ) { - const key = rudderProp.productMerchProperties.split('.'); + // take the keys after products. and find the value in properties + const key = rudderProp?.productMerchProperties.split('.'); const v = get(value, key[1]); if (isDefinedAndNotNull(v)) { adobeProdEventArr.forEach((val) => { @@ -283,11 +255,12 @@ const processTrackEvent = (message, adobeEventName, destination, extras = {}) => } else if (rudderProp.productMerchProperties in properties) { // adding root level merchandise properties adobeProdEventArr.forEach((val) => { - merchMap.push(`${val}=${properties[rudderProp.productMerchProperties]}`); + merchMap.push(`${val}=${properties[rudderProp?.productMerchProperties]}`); }); } }); - const prodEventString = merchMap.join('|'); + // forming prodEventString from merchMap array delimited by | + prodEventString = merchMap.join('|'); const eVars = []; Object.keys(productMerchEvarsMap).forEach((prodKey) => { @@ -295,7 +268,7 @@ const processTrackEvent = (message, adobeEventName, destination, extras = {}) => if (prodKey.startsWith('products.')) { // take the keys after products. and find the value in properties - const productValue = get(properties, prodKey.split('.')[1]); + const productValue = get(properties, prodKey?.split('.')?.[1]); if (isDefinedAndNotNull(productValue)) { eVars.push(`eVar${prodVal}=${productValue}`); } @@ -303,90 +276,82 @@ const processTrackEvent = (message, adobeEventName, destination, extras = {}) => eVars.push(`eVar${prodVal}=${properties[prodKey]}`); } }); - const prodEVarsString = eVars.join('|'); - - if (prodEventString !== '' || prodEVarsString !== '') { - const test = [category, item, quantity, total, prodEventString, prodEVarsString].map( - (val) => { - if (val == null) { - return String(val); - } - return val; - }, - ); - prodString.push(test.join(';')); - } else { - const test = [category, item, quantity, total] - .map((val) => { - if (val === null) { - return String(val); - } - return val; - }) - .join(';'); - prodString.push(test); - } + prodEVarsString = eVars.join('|'); + } + // preparing the product string for the final payload + // if prodEventString or prodEVarsString are missing or not + let prodArr = [category, item, quantity, total]; + if (prodEventString || prodEVarsString) { + prodArr = [...prodArr, prodEventString, prodEVarsString]; + } + const test = stringifyValueAndJoinWithDelimitter(prodArr); + if (isSingleProdEvent) { + prodString.push(test); + } else { + prodString.push(test); + prodString.push(','); } }); + // we delimit multiple products by ',' removing the trailing here + if (prodString[prodString.length - 1] === ',') { + prodString.pop(); + } } return { ...extras, - events: adobeEventArr.join(','), - products: prodString, + events: overrideEventString || adobeEventArr.join(','), + products: overrideProductString || prodString, }; }; -const handleTrack = (message, destination) => { - const { event } = message; +const handleTrack = (message, destinationConfig) => { + const { event: rawEvent } = message; let payload = null; // handle ecommerce events separately // generic events should go to the default - switch (event && event.toLowerCase()) { + const event = rawEvent?.toLowerCase(); + switch (event) { case 'product viewed': - case 'viewed product': case 'product list viewed': - case 'viewed product list': - payload = processTrackEvent(message, 'prodView', destination); + payload = processTrackEvent(message, 'prodView', destinationConfig); break; case 'product added': - case 'added product': - payload = processTrackEvent(message, 'scAdd', destination); + payload = processTrackEvent(message, 'scAdd', destinationConfig); break; case 'product removed': - case 'removed product': - payload = processTrackEvent(message, 'scRemove', destination); + payload = processTrackEvent(message, 'scRemove', destinationConfig); break; case 'order completed': - case 'completed order': - payload = processTrackEvent(message, 'purchase', destination, { + payload = processTrackEvent(message, 'purchase', destinationConfig, { purchaseID: get(message, 'properties.purchaseId') || get(message, 'properties.order_id'), transactionID: get(message, 'properties.transactionId') || get(message, 'properties.order_id'), }); break; case 'cart viewed': - case 'viewed cart': - payload = processTrackEvent(message, 'scView', destination); + payload = processTrackEvent(message, 'scView', destinationConfig); break; case 'checkout started': - case 'started checkout': - payload = processTrackEvent(message, 'scCheckout', destination, { + payload = processTrackEvent(message, 'scCheckout', destinationConfig, { purchaseID: get(message, 'properties.purchaseId') || get(message, 'properties.order_id'), transactionID: get(message, 'properties.transactionId') || get(message, 'properties.order_id'), }); break; case 'cart opened': - case 'opened cart': - payload = processTrackEvent(message, 'scOpen', destination); + payload = processTrackEvent(message, 'scOpen', destinationConfig); break; default: - if (destination.rudderEventsToAdobeEvents[event.toLowerCase()]) { + if (destinationConfig.rudderEventsToAdobeEvents[event.toLowerCase()]) { payload = processTrackEvent( message, - destination.rudderEventsToAdobeEvents[event.toLowerCase()].trim(), - destination, + destinationConfig.rudderEventsToAdobeEvents[event.toLowerCase()].trim(), + destinationConfig, + ); + } else { + throw new ConfigurationError( + 'The event is not a supported ECOM event or a mapped custom event. Aborting.', ); } break; @@ -398,7 +363,7 @@ const handleTrack = (message, destination) => { const process = async (event) => { const { message, destination } = event; if (!message.type) { - throw InstrumentationError('Message Type is not present. Aborting message.'); + throw new InstrumentationError('Message Type is not present. Aborting message.'); } const messageType = message.type.toLowerCase(); const formattedDestination = formatDestinationConfig(destination.Config); diff --git a/src/v0/destinations/adobe_analytics/utils.js b/src/v0/destinations/adobe_analytics/utils.js new file mode 100644 index 0000000000..c175765a34 --- /dev/null +++ b/src/v0/destinations/adobe_analytics/utils.js @@ -0,0 +1,198 @@ +/* eslint-disable no-param-reassign */ +/* eslint-disable no-plusplus */ +/* eslint-disable array-callback-return */ +/* eslint-disable unicorn/no-for-loop */ +/* eslint-disable no-restricted-syntax */ +const get = require('get-value'); +const { isDefinedAndNotNull, getValueFromMessage } = require('../../util'); +const { InstrumentationError } = require('../../util/errorTypes'); + +const SOURCE_KEYS = ['properties', 'traits', 'context.traits', 'context']; + +/** + * + * @param {*} obj + * @param {*} path + * @returns value of the property present in absolute path of the object + */ +function getValueByPath(obj, path) { + const propertyPath = path.split('.'); + for (let i = 0; i < propertyPath.length; i++) { + // recurse into the message object as per the path provided + if (!obj || typeof obj !== 'object') return undefined; + obj = obj[propertyPath[i]]; + } + return obj; +} + +/** + * + * @param {*} message + * @param {*} sourceKey + * @param {*} mappingKey + * + * here we iterate through free flowing objects inside our events + * and check for the property value. Property with Whitespace between them + * is also supported + */ +const getMappingFieldValueFormMessage = (message, sourceKey, mappingKey) => { + let value; + const tempStore = getValueFromMessage(message, sourceKey); + if (tempStore) { + value = tempStore[mappingKey] || get(tempStore, mappingKey); + } + return value; +}; + +const stringifyValue = (val) => { + if (val === null) { + return String(val); + } + return val; +}; + +const stringifyValueAndJoinWithDelimitter = (valArr, delimitter = ';') => + valArr.map(stringifyValue).join(delimitter); + +function handleContextData(payload, destinationConfig, message) { + const { contextDataPrefix, contextDataMapping } = destinationConfig; + const cDataPrefix = contextDataPrefix ? `${contextDataPrefix}` : ''; + const contextData = {}; + Object.keys(contextDataMapping).forEach((key) => { + const val = + get(message, key) || + get(message, `properties.${key}`) || + get(message, `traits.${key}`) || + get(message, `context.traits.${key}`); + if (isDefinedAndNotNull(val)) { + contextData[`${cDataPrefix}${contextDataMapping[key]}`] = val; + } + }); + if (Object.keys(contextData).length > 0) { + // non-empty object + payload.contextData = contextData; + } + return payload; +} + +/** + * This function is used for populating the eVars and hVars in the payload + * @param {*} destVarMapping + * @param {*} message + * @param {*} payload + * @param {*} destVarStrPrefix + * @returns updated paylaod with eVars and hVars added + */ +function rudderPropToDestMap(destVarMapping, message, payload, destVarStrPrefix) { + const mappedVar = {}; + // pass the Rudder Property mapped in the ui whose evar you want to map + Object.keys(destVarMapping).forEach((key) => { + let val = get(message, `properties.${key}`); + if (isDefinedAndNotNull(val)) { + const destVarKey = destVarStrPrefix + destVarMapping[key]; + mappedVar[destVarKey] = val; + } else { + SOURCE_KEYS.some((sourceKey) => { + val = getMappingFieldValueFormMessage(message, sourceKey, key); + if (isDefinedAndNotNull(val)) { + mappedVar[`${destVarStrPrefix}${[destVarMapping[key]]}`] = val; + } else { + val = getValueByPath(message, key); + if (isDefinedAndNotNull(val)) { + mappedVar[`${destVarStrPrefix}${[destVarMapping[key]]}`] = val; + } + } + }); + } + }); + if (Object.keys(mappedVar).length > 0) { + // non-empty object + Object.assign(payload, mappedVar); + } + return payload; +} + +// eVar reference: https://experienceleague.adobe.com/docs/analytics/implementation/vars/page-vars/evar.html?lang=en + +function handleEvar(payload, destinationConfig, message) { + // pass the Rudder Property mapped in the ui whose evar you want to map + const { eVarMapping } = destinationConfig; + return rudderPropToDestMap(eVarMapping, message, payload, 'eVar'); +} + +// hier reference: https://experienceleague.adobe.com/docs/analytics/implementation/vars/page-vars/hier.html?lang=en + +function handleHier(payload, destinationConfig, message) { + // pass the Rudder Property mapped in the ui whose hier you want to map + const { hierMapping } = destinationConfig; + return rudderPropToDestMap(hierMapping, message, payload, 'hier'); +} + +/** + * This function is used for populating the lVars and props in the payload + * @param {*} mapping + * @param {*} delimMapping + * @param {*} message + * @param {*} prefix + * @returns updated payload with list variables and/or prop variables added. + */ +function rudderPropToDestMapWithDelimitter(mapping, delimMapping, message, prefix) { + const propMap = {}; + const { properties } = message; + Object.keys(properties).forEach((key) => { + if (mapping[key] && delimMapping[key]) { + let val = get(message, `properties.${key}`); + if (typeof val !== 'string' && !Array.isArray(val)) { + throw new InstrumentationError( + `${prefix} mapping properties variable is neither a string nor an array`, + ); + } + if (typeof val === 'string') { + val = val.replace(/\s*,+\s*/g, delimMapping[key]); + } else { + val = val.join(delimMapping[key]); + } + propMap[`${prefix}${[mapping[key]]}`] = val.toString(); + } + }); + return propMap; +} + +// list reference: https://experienceleague.adobe.com/docs/analytics/implementation/vars/page-vars/list.html?lang=en + +function handleList(payload, destinationConfig, message) { + const { listMapping, listDelimiter } = destinationConfig; + const listMap = rudderPropToDestMapWithDelimitter(listMapping, listDelimiter, message, 'list'); + // add to the payload + if (Object.keys(listMap).length > 0) { + Object.assign(payload, listMap); + } + return payload; +} + +// prop reference: https://experienceleague.adobe.com/docs/analytics/implementation/vars/page-vars/prop.html?lang=en + +function handleCustomProperties(payload, destinationConfig, message) { + const { customPropsMapping, propsDelimiter } = destinationConfig; + const propMap = rudderPropToDestMapWithDelimitter( + customPropsMapping, + propsDelimiter, + message, + 'prop', + ); + + // add to the payload + if (Object.keys(propMap).length > 0) { + Object.assign(payload, propMap); + } + return payload; +} + +module.exports = { + handleContextData, + handleEvar, + handleHier, + handleList, + handleCustomProperties, + stringifyValueAndJoinWithDelimitter, +}; diff --git a/test/__tests__/adobe_analytics.test.js b/test/__tests__/adobe_analytics.test.js index 75eb6fece7..287ac37981 100644 --- a/test/__tests__/adobe_analytics.test.js +++ b/test/__tests__/adobe_analytics.test.js @@ -7,43 +7,24 @@ const path = require("path"); const version = "v0"; const transformer = require(`../../src/${version}/destinations/${integration}/transform`); -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) +const testDataFile = fs.readFileSync( + path.resolve(__dirname, `./data/${integration}.json`) ); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); +const testData = JSON.parse(testDataFile); -// Router Test Data -// const inputRouterDataFile = fs.readFileSync( -// path.resolve(__dirname, `./data/${integration}_router_input.json`) -// ); -// const outputRouterDataFile = fs.readFileSync( -// path.resolve(__dirname, `./data/${integration}_router_output.json`) -// ); -// const inputRouterData = JSON.parse(inputRouterDataFile); -// const expectedRouterData = JSON.parse(outputRouterDataFile); describe(`${name} Tests`, () => { - describe("Processor Tests", () => { - inputData.forEach((input, index) => { - it(`${name} - payload: ${index}`, async () => { + describe("Processor", () => { + testData.forEach((dataPoint, index) => { + it(`${index}. ${integration} - ${dataPoint.description}`, async () => { try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); + const output = await transformer.process(dataPoint.input); + expect(output).toEqual(dataPoint.output); } catch (error) { - expect(error.message).toEqual(expectedData[index].error); + expect(error.message).toEqual(dataPoint.output.error); } }); }); }); - - // describe("Router Tests", () => { - // it("Payload", async () => { - // const routerOutput = await transformer.processRouterDest(inputRouterData); - // expect(routerOutput).toEqual(expectedRouterData); - // }); - // }); }); + diff --git a/test/__tests__/data/adobe_analytics.json b/test/__tests__/data/adobe_analytics.json new file mode 100644 index 0000000000..27ecb348d3 --- /dev/null +++ b/test/__tests__/data/adobe_analytics.json @@ -0,0 +1,2890 @@ +[ + { + "description": "[ECom]: Product Viewed", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": { + "tt01": "t01", + "tt02": "t02" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": { + "roott01": "roottval001" + }, + "event": "product viewed", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "product_id": "123", + "sku": "F15", + "category": "Games", + "name": "Game", + "brand": "Gamepro", + "variant": "111", + "price": 13.49, + "quantity": 11, + "coupon": "DISC21", + "currency": "USD", + "position": 1, + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.png", + "currencyMerch": 25, + "addressMerch": "Delhi", + "currencyProdMerch": "USD", + "addressProdMerch": "SF", + "city5": "Kolkata", + "phone4": "9935400932", + "bikelist": "r15,faze90R", + "carlist": "ciaz,hummer,thar", + "customprop1": "custompropval1", + "customprop2": "custompropval2" + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": { + "payload": "17941080sales campaignwebUSD127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellert01t02roottval001Kolkata9935400932RudderLabs JavaScript SDKoproduct viewedhttps://www.estore.com/best-seller/1r15,faze90Rciaz,hummer,tharhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1custompropval1custompropval22020-01-09T10:01:53.558Zmktcloudid001prodViewGames;Game;11;148.39footlockerrudderstackpoc" + }, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "[ECom]: Product Added", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": {}, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": {}, + "event": "product added", + "integrations": { + "All": true + }, + "properties": { + "product_id": "123", + "sku": "F15", + "category": "Games", + "name": "Game", + "brand": "Gamepro", + "variant": "111", + "price": 13.49, + "quantity": 11, + "coupon": "DISC21", + "position": 1, + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.png" + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": { + "payload": "17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerRudderLabs JavaScript SDKoproduct addedhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1https://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001scAddGames;Game;11;148.39footlockerrudderstackpoc" + }, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "[ECom]: Product Removed", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": {}, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": {}, + "event": "product removed", + "integrations": { + "All": true + }, + "properties": { + "product_id": "123", + "sku": "F15", + "category": "Games", + "name": "Game", + "brand": "Gamepro", + "variant": "111", + "price": 13.49, + "quantity": 11, + "coupon": "DISC21", + "position": 1, + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.png" + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": { + "payload": "17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerRudderLabs JavaScript SDKoproduct removedhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1https://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001scRemoveGames;Game;11;148.39footlockerrudderstackpoc" + }, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "[ECom]: Cart Viewed", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": {}, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": { + "roott01": "roottval001" + }, + "event": "cart viewed", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "cart_id": "12345", + "products": [ + { + "product_id": "123", + "sku": "G-14", + "name": "Cards", + "price": 14.99, + "position": 1, + "category": "Games", + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.jpg" + }, + { + "product_id": "345", + "sku": "G-32", + "name": "UNO", + "price": 3.99, + "position": 2, + "category": "Games" + } + ] + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": { + "payload": "17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKocart viewedhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1https://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001scViewGames;Cards;1;14.99,Games;UNO;1;3.99footlockerrudderstackpoc" + }, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "[ECom]: Checkout started", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": {}, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": { + "roott01": "roottval001" + }, + "event": "checkout started", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "order_id": "1234", + "affiliation": "Apple Store", + "value": 20, + "revenue": 15.0, + "shipping": 4, + "tax": 1, + "discount": 1.5, + "coupon": "ImagePro", + "currency": "USD", + "products": [ + { + "product_id": "123", + "sku": "G-32", + "name": "Monopoly", + "price": 14, + "quantity": 1, + "category": "Games", + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.jpg" + }, + { + "product_id": "345", + "sku": "F-32", + "name": "UNO", + "price": 3.45, + "quantity": 2, + "category": "Games" + } + ] + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": { + "payload": "17941080sales campaignwebUSD127.0.0.1en-US12341234Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKocheckout startedhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1https://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001scCheckoutGames;Monopoly;1;14.00,Games;UNO;2;6.90footlockerrudderstackpoc" + }, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "[ECom]: Order Completed", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": {}, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": { + "roott01": "roottval001" + }, + "event": "order completed", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "checkout_id": "12345", + "order_id": "1234", + "affiliation": "Apple Store", + "total": 20, + "revenue": 15.0, + "shipping": 4, + "tax": 1, + "discount": 1.5, + "coupon": "ImagePro", + "currency": "USD", + "products": [ + { + "product_id": "123", + "sku": "G-32", + "name": "Monopoly", + "price": 14, + "quantity": 1, + "category": "Games", + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.jpg" + }, + { + "product_id": "345", + "sku": "F-32", + "name": "UNO", + "price": 3.45, + "quantity": 2, + "category": "Games" + } + ] + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": { + "payload": "17941080sales campaignwebUSD127.0.0.1en-US12341234Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKoorder completedhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1https://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001purchaseGames;Monopoly;1;14.00,Games;UNO;2;6.90footlockerrudderstackpoc" + }, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "Cart Opened", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": {}, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": { + "roott01": "roottval001" + }, + "event": "cart opened", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "cart_id": "12345", + "products": [ + { + "product_id": "123", + "sku": "G-14", + "name": "Cards", + "price": 14.99, + "position": 1, + "category": "Games", + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.jpg" + }, + { + "product_id": "345", + "sku": "G-32", + "name": "UNO", + "price": 3.99, + "position": 2, + "category": "Games" + } + ] + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": { + "payload": "17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKocart openedhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1https://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001scOpenGames;Cards;1;14.99,Games;UNO;1;3.99footlockerrudderstackpoc" + }, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "[Custom] Watched Video", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": {}, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": { + "roott01": "roottval001" + }, + "event": "Watched Video", + "integrations": { + "All": true + }, + "properties": { + "plan": "growth", + "video": "TEDxGROWTH" + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + }, + { + "from": "video", + "to": "2" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "watched video", + "to": "event1" + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + }, + { + "from": "plan", + "to": "2" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": { + "payload": "17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKTEDxGROWTHoWatched Videohttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1https://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001event1footlockerrudderstackpoc" + }, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "Common Page Call", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": {}, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": { + "roott01": "roottval001" + }, + "integrations": { + "All": true + }, + "properties": { + "browser": "chrome", + "searchTerm": "swim shorts", + "section": "swimwear", + "city5": "Kolkata", + "phone4": "9935400932", + "bikelist": "r15,faze90R", + "carlist": "ciaz,hummer,thar", + "customprop1": "custompropval1", + "customprop2": "custompropval2" + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "name": "Page View", + "type": "page", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "Page View", + "to": "event2" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": { + "payload": "17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001Kolkata9935400932RudderLabs JavaScript SDKopage viewhttps://www.estore.com/best-seller/1r15,faze90Rciaz,hummer,tharhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1custompropval1custompropval22020-01-09T10:01:53.558Zmktcloudid001event2footlockerrudderstackpoc" + }, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "Currency test event", + "input": { + "message": { + "type": "track", + "event": "Currency test event", + "userId": "ruddersampleX3", + "request_ip": "14.5.67.21", + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.rudderstack.demo.android", + "version": "1.0" + }, + "device": { + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android", + "advertisingId": "8ecd7512-2864-440c-93f3-a3cabe62525b", + "attStatus": true, + "id": "fc8d449516de0dfb", + "adTrackingEnabled": true, + "token": "bk3RNwTe3H0CI2k_ HHwgIpoDKCIZvvD MExUdFQ3P1" + }, + "library": { + "name": "com.rudderstack.android.sdk.core", + "version": "0.1.4" + }, + "locale": "en-US", + "network": { + "carrier": "Android", + "bluetooth": false, + "cellular": true, + "wifi": true + }, + "campaign": { + "source": "google", + "medium": "medium", + "term": "keyword", + "content": "some content" + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Mumbai", + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "properties": { + "products": [ + { + "product_id": "123", + "sku": "F15", + "category": "Games", + "name": "Game", + "brand": "Gamepro", + "variant": "111", + "price": 13.49, + "quantity": 11, + "coupon": "DISC21", + "currency": "USD", + "position": 1, + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.png" + } + ], + "currencyMerch": 21, + "city5": "Kolkata", + "phone4": "9935400932", + "bikelist": "r15,faze90R", + "carlist": "ciaz,hummer,thar", + "customprop1": "custompropval1", + "customprop2": "custompropval2" + }, + "timestamp": "2021-09-01T15:46:51.000Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + }, + { + "from": "video", + "to": "2" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "watched video", + "to": "event1" + }, + { + "from": "Page View", + "to": "event2" + }, + { + "from": "currency test event", + "to": "event6" + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + }, + { + "from": "plan", + "to": "2" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": { + "payload": "1794108014.5.67.21en-USAsia/MumbaiDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)Kolkata9935400932com.rudderstack.android.sdk.coreoCurrency test eventNo linkURL providedr15,faze90Rciaz,hummer,tharundefinedcustompropval1custompropval22021-09-01T15:46:51.000Zmktcloudid001event6,event6=21,event2,event6Games;Game;11;148.39;;eVar4=9935400932|eVar5=Kolkatafootlockerrudderstackpoc" + }, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "Override feature test", + "input": { + "message": { + "anonymousId": "73c53c25-42h1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "event": "Product Viewed", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "tsUrl": "footlocker.sc.omtrdc.net", + "overrideProductString": ";product1;;;event1=1", + "overrideEventString": "scAdd", + "overrideEvars": { + "evar1": "yash", + "evar2": "val2" + }, + "overrideLists": { + "list1": "r15,faze90R" + }, + "overrideCustomProperties": { + "prop1": "overrideVal1" + }, + "product_id": "123", + "sku": "F15", + "category": "Games", + "name": "Game", + "brand": "Gamepro", + "variant": "111", + "price": 13.49, + "quantity": 11, + "coupon": "DISC21", + "currency": "USD", + "position": 1, + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.png", + "currencyMerch": "INR", + "addressMerch": "Delhi", + "currencyProdMerch": "USD", + "addressProdMerch": "SF", + "city5": "Kolkata", + "phone4": "9935400932", + "bikelist": "r15,faze91R", + "carlist": "ciaz,hummer,thar", + "customprop1": "custompropval1", + "customprop2": "custompropval2" + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + }, + { + "from": "video", + "to": "2" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "watched video", + "to": "event1" + }, + { + "from": "Page View", + "to": "event2" + }, + { + "from": "currency test event", + "to": "event6" + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + }, + { + "from": "plan", + "to": "2" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "XML": { + "payload": "17941080sales campaignwebUSDen-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestselleryashval2oProduct Viewedhttps://www.estore.com/best-seller/1r15,faze90Rhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1overrideVal12020-01-09T10:01:53.558Zmktcloudid001scAdd;product1;;;event1=1footlockerrudderstackpoc" + }, + "FORM": {}, + "JSON": {}, + "JSON_ARRAY": {} + }, + "files": {} + } + } +] diff --git a/test/__tests__/data/adobe_analytics_input.json b/test/__tests__/data/adobe_analytics_input.json deleted file mode 100644 index 393bf64e88..0000000000 --- a/test/__tests__/data/adobe_analytics_input.json +++ /dev/null @@ -1,6398 +0,0 @@ -[ - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "custom event", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "cart opened", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "checkout started", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "cart viewed", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "order completed", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "product removed", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "product added", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "product viewed", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": 2, - "c3": "3" - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": [2, 3, 4], - "c3": "3" - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": false, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": [2, 3, 4], - "c3": "3" - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": false, - "timestampOption": "hybrid", - "timestampOptionalReporting": true, - "noFallbackVisitorId": false, - "preferVisitorId": true, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": [2, 3, 4], - "c3": "3" - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": false, - "timestampOption": "hybrid", - "timestampOptionalReporting": true, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": [2, 3, 4], - "c3": "3" - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": false, - "timestampOption": "hybrid", - "timestampOptionalReporting": true, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "tournament_id" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "merchEvent" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": [2, 3, 4], - "c3": "3" - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": false, - "timestampOption": "hybrid", - "timestampOptionalReporting": true, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "tournament_id" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "merchEvent" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ], - "productMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "scAdd" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": [2, 3, 4], - "c3": "3" - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": false, - "timestampOption": "hybrid", - "timestampOptionalReporting": true, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "id", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "tournament_id" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "merchEvent" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ], - "productMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "scAdd" - } - ], - "productMerchEvarsMap": [ - { - "from": "product_id", - "to": "2" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ] - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": [2, 3, 4], - "c3": "3", - "product_id": 2 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": false, - "timestampOption": "hybrid", - "timestampOptionalReporting": true, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "id", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "tournament_id" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "merchEvent" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ], - "productMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "scAdd" - } - ], - "productMerchEvarsMap": [ - { - "from": "product_id", - "to": "2" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ], - "page": { - "url": "https://abc.com", - "name": "testName" - } - }, - "event": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": [2, 3, 4], - "c3": "3", - "product_id": 2 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": false, - "timestampOption": "hybrid", - "timestampOptionalReporting": true, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "id", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "tournament_id" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "merchEvent" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ], - "productMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "scAdd" - } - ], - "productMerchEvarsMap": [ - { - "from": "product_id", - "to": "2" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ], - "page": { - "url": "https://abc.com", - "name": "testName" - } - }, - "name": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "url": "https://app.rudderstack.com/signup?type=freetrial", - "path": "/signup", - "title": "", - "search": "?type=freetrial", - "tab_url": "https://app.rudderstack.com/signup?type=freetrial", - "referrer": "https://rudderstack.medium.com/kafka-vs-postgresql-how-we-implemented-our-queueing-system-using-postgresql-ec128650e3e", - "initial_referrer": "https://rudderstack.medium.com/kafka-vs-postgresql-how-we-implemented-our-queueing-system-using-postgresql-ec128650e3e", - "referring_domain": "rudderstack.medium.com", - "initial_referring_domain": "rudderstack.medium.com", - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": [2, 3, 4], - "c3": "3", - "product_id": 2 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "page" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": false, - "timestampOption": "hybrid", - "timestampOptionalReporting": true, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "id", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "del_1", - "to": "DEL_1" - } - ], - "listMapping": [ - { - "from": "map_1", - "to": "MAP_1" - }, - { - "from": "del_1", - "to": "DEL_1" - } - ], - "propsDelimiter": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "tournament_id" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "merchEvent" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": 3 - } - ], - "contextDataMapping": [ - { - "from": "bet_level", - "to": "rudder_bet_level" - } - ], - "hierMapping": [ - { - "from": "game_name", - "to": "game_dest" - } - ], - "productMerchEventToAdobeEvent": [ - { - "from": "Custom Page View", - "to": "scAdd" - } - ], - "productMerchEvarsMap": [ - { - "from": "product_id", - "to": "2" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - }, - "externalId": [ - { - "type": "AdobeFallbackVisitorId", - "id": 1 - } - ], - "page": { - "url": "https://abc.com", - "name": "testName" - } - }, - "name": "Custom Page View", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "url": "https://app.rudderstack.com/signup?type=freetrial", - "path": "/signup", - "title": "", - "search": "?type=freetrial", - "tab_url": "https://app.rudderstack.com/signup?type=freetrial", - "referrer": "https://rudderstack.medium.com/kafka-vs-postgresql-how-we-implemented-our-queueing-system-using-postgresql-ec128650e3e", - "initial_referrer": "https://rudderstack.medium.com/kafka-vs-postgresql-how-we-implemented-our-queueing-system-using-postgresql-ec128650e3e", - "referring_domain": "rudderstack.medium.com", - "initial_referring_domain": "rudderstack.medium.com", - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "v1": 1, - "v2": 2, - "del_1": "delimeter", - "map_1": 1, - "c2": [2, 3, 4], - "c3": "3", - "product_id": 2 - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "screen" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "prop1" - }, - { - "eventMerchProperties": "prop2" - }, - { - "eventMerchProperties": "prop3" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "prop1" - }, - { - "productMerchProperties": "products.product_id" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "order completed", - "to": "abc completed" - }, - { - "from": "checkout started", - "to": "cde completed" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ], - "productMerchEventToAdobeEvent": [ - { - "from": "checkout started", - "to": "scCheckOut" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "checkout started", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "prop1": "testPropVal1", - "prop2": "testPropVal2", - "prop3": "testPropVal3", - "additional_bet_index": 0, - "battle_id": "N/A", - "bet_amount": 9, - "bet_level": 1, - "bet_multiplier": 1, - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "days_in_game": 0, - "extra_param": "N/A", - "fb_profile": "0", - "featureGameType": "N/A", - "game_fps": 30, - "game_id": "fireEagleBase", - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": "False", - "is_auto_spin": "False", - "is_turbo": "False", - "isf": "False", - "ishighroller": "False", - "jackpot_win_amount": 90, - "jackpot_win_type": "Silver", - "level": 6, - "lifetime_gem_balance": 0, - "no_of_spin": 1, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "tournament_id": "T1561970819", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": "prodID1", - "name": "Monopoly: 3rd Edition", - "coupon": "SUMMER_FUN", - "category": "Apparel", - "brand": "Google", - "variant": "green", - "price": "19", - "quantity": "2", - "position": "1", - "affiliation": "Google Merchandise Store", - "currency": "USD", - "discount": 2.22, - "item_category2": "Adult", - "item_category3": "Shirts", - "item_category4": "Crew", - "item_category5": "Short sleeve", - "item_list_id": "related_products", - "item_list_name": "Related Products", - "location_id": "L_12345" - }, - { - "product_id": "prodID2", - "name": "Monopoly: 3rd Edition", - "coupon": "SUMMER_FUN", - "category": "Apparel", - "brand": "Google", - "variant": "green", - "price": "19", - "quantity": "2", - "position": "1", - "affiliation": "Google Merchandise Store", - "currency": "USD", - "discount": 2.22, - "item_category2": "Adult", - "item_category3": "Shirts", - "item_category4": "Crew", - "item_category5": "Short sleeve", - "item_list_id": "related_products", - "item_list_name": "Related Products", - "location_id": "L_12345" - } - ] - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "trackingServerUrl": "http://sadobemetrics.dr.dk", - "trackingServerSecureUrl": "https://sadobemetrics.dr.dk", - "reportSuiteIds": "drdev2", - "sslHeartbeat": true, - "heartbeatTrackingServerUrl": "", - "useUtf8Charset": true, - "useSecureServerSide": true, - "proxyNormalUrl": "", - "proxyHeartbeatUrl": "", - "marketingCloudOrgId": "00E287634SDFE6200A495E6B@AdobeOrg", - "dropVisitorId": true, - "timestampOption": "disabled", - "timestampOptionalReporting": false, - "noFallbackVisitorId": false, - "preferVisitorId": false, - "trackPageName": true, - "contextDataPrefix": "", - "useLegacyLinkName": true, - "pageNameFallbackTostring": true, - "sendFalseValues": true, - "productIdentifier": "name", - "eventsToTypes": [ - { - "from": "", - "to": "" - } - ], - "listDelimiter": [ - { - "from": "", - "to": "" - } - ], - "propsDelimiter": [ - { - "from": "", - "to": "" - } - ], - "eventMerchProperties": [ - { - "eventMerchProperties": "" - } - ], - "productMerchProperties": [ - { - "productMerchProperties": "" - } - ], - "eVarMapping": [ - { - "from": "v1", - "to": "1" - }, - { - "from": "v2", - "to": "2" - }, - { - "from": "v3", - "to": "3" - }, - { - "from": "v12", - "to": "12" - }, - { - "from": "v13", - "to": "13" - }, - { - "from": "v16", - "to": "16" - }, - { - "from": "v17", - "to": "17" - }, - { - "from": "v40", - "to": "40" - }, - { - "from": "v41", - "to": "41" - }, - { - "from": "v42", - "to": "42" - }, - { - "from": "v69", - "to": "69" - }, - { - "from": "v70", - "to": "70" - }, - { - "from": "v89", - "to": "89" - } - ], - "eventDelivery": false, - "eventDeliveryTS": 1628171489456, - "rudderEventsToAdobeEvents": [ - { - "from": "Custom Page View", - "to": "event1" - }, - { - "from": "App Launch", - "to": "event31" - }, - { - "from": "App Start", - "to": "event31" - } - ], - "useNativeSDK": { - "web": false - }, - "eventMerchEventToAdobeEvent": [ - { - "from": "", - "to": "" - } - ], - "customPropsMapping": [ - { - "from": "c2", - "to": "2" - }, - { - "from": "c3", - "to": "3" - } - ] - } - }, - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "traits": { - "address": { - "city": "Dhaka", - "country": "Bangladesh" - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "checkout started", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "order_id": "oid100" - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - } -] diff --git a/test/__tests__/data/adobe_analytics_output.json b/test/__tests__/data/adobe_analytics_output.json deleted file mode 100644 index 77b3a5e75a..0000000000 --- a/test/__tests__/data/adobe_analytics_output.json +++ /dev/null @@ -1,484 +0,0 @@ -[ - { - "statusCode": 400, - "error": "AA: Unprocessable Event" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "00E287634SDFE6200A495E6B@AdobeOrgevent1drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "00E287634SDFE6200A495E6B@AdobeOrgscOpendrdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "00E287634SDFE6200A495E6B@AdobeOrgundefinedundefinedscCheckoutdrdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "00E287634SDFE6200A495E6B@AdobeOrgscViewdrdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "00E287634SDFE6200A495E6B@AdobeOrgundefinedundefinedpurchasedrdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "00E287634SDFE6200A495E6B@AdobeOrgscRemovedrdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "00E287634SDFE6200A495E6B@AdobeOrgscAdddrdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "00E287634SDFE6200A495E6B@AdobeOrgprodViewdrdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "100E287634SDFE6200A495E6B@AdobeOrgevent1drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "11200E287634SDFE6200A495E6B@AdobeOrgevent1drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "112100E287634SDFE6200A495E6B@AdobeOrgevent1drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlots00E287634SDFE6200A495E6B@AdobeOrgevent1drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeter00E287634SDFE6200A495E6B@AdobeOrgevent1drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "error": "prop variable is neither a string nor an array" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeter22324300E287634SDFE6200A495E6B@AdobeOrgevent1drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeter223243test_user_id00E287634SDFE6200A495E6B@AdobeOrgevent1drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeter223243test_user_id00E287634SDFE6200A495E6B@AdobeOrgevent1drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeter2232432019-09-01T15:46:51.693Z00E287634SDFE6200A495E6B@AdobeOrgevent1drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeter2232432019-09-01T15:46:51.693Z00E287634SDFE6200A495E6B@AdobeOrgevent1,merchEvent=T1561970819drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeter2232432019-09-01T15:46:51.693Z00E287634SDFE6200A495E6B@AdobeOrgevent1,merchEvent=T1561970819,scAdd;;1;0drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeter2232432019-09-01T15:46:51.693Z00E287634SDFE6200A495E6B@AdobeOrgevent1,merchEvent=T1561970819,scAdd;2;1;0;;eVar2=2drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeterhttps://abc.comtestName2232432019-09-01T15:46:51.693Z00E287634SDFE6200A495E6B@AdobeOrgevent1,merchEvent=T1561970819,scAdd;2;1;0;;eVar2=2drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeterhttps://abc.comtestName2232432019-09-01T15:46:51.693Z00E287634SDFE6200A495E6B@AdobeOrgevent1,merchEvent=T1561970819,scAdd;2;1;0;;eVar2=2drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "1121FireEagleSlotsdelimeterhttps://abc.comtestName2232432019-09-01T15:46:51.693Z00E287634SDFE6200A495E6B@AdobeOrgevent1,merchEvent=T1561970819,scAdd;2;1;0;;eVar2=2drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "00E287634SDFE6200A495E6B@AdobeOrgundefinedundefinedscCheckout,cde completed=testPropVal1,cde completed=testPropVal2,cde completed=testPropVal3,scCheckOutApparel;Monopoly: 3rd Edition;2;38.00;scCheckOut=testPropVal1|scCheckOut=prodID1;Apparel;Monopoly: 3rd Edition;2;38.00;scCheckOut=testPropVal1|scCheckOut=prodID2;drdev2" - }, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://sadobemetrics.dr.dk/b/ss//6", - "headers": { - "Content-type": "application/xml" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": { - "payload": "oid100oid10000E287634SDFE6200A495E6B@AdobeOrgscCheckoutdrdev2" - }, - "FORM": {} - }, - "files": {} - } -] From 196294f70bc967efea70aef084268db9c567417a Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Mon, 27 Mar 2023 16:21:11 +0530 Subject: [PATCH 09/17] fix(monday): axios call empty response issue (#2001) fix: handle monday axios call empty response issue Co-authored-by: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> --- src/v0/destinations/monday/util.js | 5 ++ test/__mocks__/axios.js | 2 +- test/__mocks__/data/monday/response.json | 10 +++- test/__mocks__/monday.mock.js | 24 +++------ test/__tests__/data/monday.json | 69 ++++++++++++++++++++++++ 5 files changed, 89 insertions(+), 21 deletions(-) diff --git a/src/v0/destinations/monday/util.js b/src/v0/destinations/monday/util.js index 9db35e4e0e..bd4881dfe4 100644 --- a/src/v0/destinations/monday/util.js +++ b/src/v0/destinations/monday/util.js @@ -197,6 +197,11 @@ const getBoardDetails = async (url, boardID, apiToken) => { boardDetailsResponse.response, ); } + + if (!boardDetailsResponse.response?.data?.boards?.length) { + throw new ConfigurationError(`The board with boardId ${boardID} does not exist`); + } + return boardDetailsResponse; }; diff --git a/test/__mocks__/axios.js b/test/__mocks__/axios.js index a90af118d4..8e6f654ac9 100644 --- a/test/__mocks__/axios.js +++ b/test/__mocks__/axios.js @@ -232,7 +232,7 @@ function post(url, payload) { payload.query.includes("query") ) { return new Promise((resolve, reject) => { - resolve(mondayPostRequestHandler(url)); + resolve(mondayPostRequestHandler(payload)); }); } if (url.includes("https://api.custify.com")) { diff --git a/test/__mocks__/data/monday/response.json b/test/__mocks__/data/monday/response.json index 66b1267223..18f58cb66d 100644 --- a/test/__mocks__/data/monday/response.json +++ b/test/__mocks__/data/monday/response.json @@ -1,5 +1,5 @@ { - "https://api.monday.com/v2": { + "339283933": { "data": { "boards": [ { @@ -202,5 +202,11 @@ ] }, "account_id": 13215538 + }, + "339283934": { + "data": { + "boards": [] + }, + "account_id": 16260452 } -} +} \ No newline at end of file diff --git a/test/__mocks__/monday.mock.js b/test/__mocks__/monday.mock.js index de5041b58c..0a9eb627be 100644 --- a/test/__mocks__/monday.mock.js +++ b/test/__mocks__/monday.mock.js @@ -1,29 +1,17 @@ const fs = require("fs"); const path = require("path"); -const urlDirectoryMap = { - "api.monday.com": "monday" -}; - -const getData = url => { - let directory = ""; - Object.keys(urlDirectoryMap).forEach(key => { - if (url.includes(key)) { - directory = urlDirectoryMap[key]; - } - }); - if (directory) { +const getData = payload => { const dataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${directory}/response.json`) + path.resolve(__dirname, `./data/monday/response.json`) ); const data = JSON.parse(dataFile); - return data[url]; - } - return {}; + const boardId = payload.query.substring(21,30); + return data[boardId]; }; -const mondayPostRequestHandler = url => { - const mockData = getData(url); +const mondayPostRequestHandler = payload => { + const mockData = getData(payload); if (mockData) { return { data: mockData, status: 200 }; } diff --git a/test/__tests__/data/monday.json b/test/__tests__/data/monday.json index 879acb8866..aaa468da85 100644 --- a/test/__tests__/data/monday.json +++ b/test/__tests__/data/monday.json @@ -811,5 +811,74 @@ "output": { "error": "Event Discarded. To allow this event, add this in Allowlist" } + }, + { + "description": "check for deleted boards (configured boards are deleted)", + "input": { + "destination": { + "Config": { + "apiToken": "eywwakzdjiksjhriherniSFsjhnskdojsSDFhsdns.sSRSSREWdnfnsjshfjsjskshfiskskdS__Fskilhih", + "boardId": "339283934", + "groupTitle": "Next year", + "columnToPropertyMapping": [ + { + "from": "Status", + "to": "status" + }, + { + "from": "Email", + "to": "emailId" + } + ], + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] + } + }, + "message": { + "event": "create an item", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "ujjwal27", + "channel": "web", + "properties": { + "name": "Task 1", + "status": "Done", + "emailId": "abc@email.com", + "emailText": "emailId" + }, + "context": { + "os": { + "name": "", + "version": "" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "locale": "en-US", + "screen": { + "density": 2 + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.11" + }, + "campaign": {}, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0" + }, + "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", + "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", + "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", + "originalTimestamp": "2021-01-03T17:02:53.193Z" + } + }, + "output": { + "error": "The board with boardId 339283934 does not exist" + } } ] From 2f7ebff62c8934165c1271a7c019c2b0b5b2a4b3 Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Mon, 27 Mar 2023 16:38:16 +0530 Subject: [PATCH 10/17] fix(rockerbox): make email as non-required field (#1995) * fix: make email as non-required field * feat: add mapping for anounymousId * feat: add userId/anonymousId check and update tests --- .../rockerbox/data/RockerboxTrackConfig.json | 12 ++- src/v0/destinations/rockerbox/transform.js | 3 + test/__tests__/data/rockerbox.json | 82 ++++++++++++++++++- .../data/rockerbox_router_output.json | 2 + 4 files changed, 95 insertions(+), 4 deletions(-) diff --git a/src/v0/destinations/rockerbox/data/RockerboxTrackConfig.json b/src/v0/destinations/rockerbox/data/RockerboxTrackConfig.json index bbd1b4a59d..e405f1477d 100644 --- a/src/v0/destinations/rockerbox/data/RockerboxTrackConfig.json +++ b/src/v0/destinations/rockerbox/data/RockerboxTrackConfig.json @@ -1,14 +1,20 @@ [ { - "sourceKeys": "userId", + "sourceKeys": "userIdOnly", "destKey": "customer_id", - "required": true, + "required": false, "sourceFromGenericMap": true }, + { + "sourceKeys": "anonymousId", + "destKey": "anonymous_id", + "required": false, + "sourceFromGenericMap": false + }, { "sourceKeys": "email", "destKey": "email", - "required": true, + "required": false, "sourceFromGenericMap": true }, { diff --git a/src/v0/destinations/rockerbox/transform.js b/src/v0/destinations/rockerbox/transform.js index c02db32111..edd6aaa214 100644 --- a/src/v0/destinations/rockerbox/transform.js +++ b/src/v0/destinations/rockerbox/transform.js @@ -13,6 +13,9 @@ const { ConfigurationError, InstrumentationError } = require('../../util/errorTy const responseBuilderSimple = (message, category, destination) => { const payload = constructPayload(message, MAPPING_CONFIG[category.name]); + if (!payload.customer_id && !payload.anonymous_id) { + throw new InstrumentationError('Anyone of userId or anonymousId is required to make the call'); + } // conversion_source is explicitly set to RudderStack payload.conversion_source = 'RudderStack'; diff --git a/test/__tests__/data/rockerbox.json b/test/__tests__/data/rockerbox.json index 5c76023f50..6e90e20241 100644 --- a/test/__tests__/data/rockerbox.json +++ b/test/__tests__/data/rockerbox.json @@ -220,6 +220,7 @@ "email": "userSampleX120@gmail.com", "conversion_source": "RudderStack", "customer_id": "userSampleX138", + "anonymous_id": "5f093403-1457-4a2c-b4e4-c61ec3bacf56", "phone": "9878764736", "product_name": "Red T-shirt", "product_url": "http://www.yourdomain.com/products/red-t-shirt", @@ -342,6 +343,7 @@ "body": { "JSON": { "customer_id": "userSampleX138", + "anonymous_id": "5f093403-1457-4a2c-b4e4-c61ec3bacf56", "email": "userSampleX120@gmail.com", "externalId": "rbUid", "phone": "9878764736", @@ -444,7 +446,7 @@ "anonymousId": "anon_id", "type": "track", "traits": { - "anonymousId": "anon_id", + "userId": "anon_id", "email": "jamesDoe@gmail.com", "name": "James Doe", "phone": "92374162212", @@ -494,6 +496,7 @@ "email": "jamesDoe@gmail.com", "phone": "92374162212", "action": "conv.add_to_cart", + "anonymous_id": "anon_id", "bounceiD": "fakefake", "merch_id": false, "timestamp": 1571043797, @@ -514,5 +517,82 @@ "version": "1", "endpoint": "https://webhooks.getrockerbox.com/rudderstack" } + }, + { + "description": "userId/anonymousId check", + "input": { + "destination": { + "Config": { + "advertiserId": "KDH4JNDHCFJHJ57SJOWJE490W01JFNHGDSSFHDKDSDF" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", + "locale": "en-US", + "ip": "0.0.0.0", + "os": { "name": "", "version": "" }, + "screen": { "density": 2 } + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "type": "track", + "traits": { + "email": "jamesDoe@gmail.com", + "name": "James Doe", + "phone": "92374162212", + "gender": "M", + "employed": true, + "birthday": "1614775793", + "education": "Science", + "graduate": true, + "married": true, + "customerType": "Prime", + "msg_push": true, + "msgSms": true, + "msgemail": true, + "msgwhatsapp": false, + "custom_tags": ["Test_User", "Interested_User", "DIY_Hobby"], + "custom_mappings": { + "Office": "Trastkiv", + "Country": "Russia" + }, + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 789223, + "state": "WB", + "street": "" + } + }, + "properties": { + "unit_id": 123, + "merch_id": false, + "bounceiD": "fakefake", + "counce_id": "" + }, + "event": "Product Added", + "integrations": { "All": true }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + }, + "output": { + "statusCode": 400, + "error": "Anyone of userId or anonymousId is required to make the call", + "statTags": { + "destination": "rockerbox", + "stage": "transform", + "scope": "exception" + } + } } ] diff --git a/test/__tests__/data/rockerbox_router_output.json b/test/__tests__/data/rockerbox_router_output.json index 75f3bea086..59d993241e 100644 --- a/test/__tests__/data/rockerbox_router_output.json +++ b/test/__tests__/data/rockerbox_router_output.json @@ -14,6 +14,7 @@ "JSON": { "action": "conv.add_to_cart", "checkout_id": "12345", + "anonymous_id": "5f093403-1457-4a2c-b4e4-c61ec3bacf56", "conversion_source": "RudderStack", "customer_id": "userSampleX138", "email": "userSampleX120@gmail.com", @@ -94,6 +95,7 @@ "conversion_source": "RudderStack", "customer_id": "userSampleX138", "email": "userSampleX120@gmail.com", + "anonymous_id": "5f093403-1457-4a2c-b4e4-c61ec3bacf56", "phone": "9878764736", "product_name": "Red T-shirt", "product_url": "http://www.yourdomain.com/products/red-t-shirt", From ef7a3511e26e652caa54fb600db01ebe6bd0cc3d Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Mon, 27 Mar 2023 16:59:00 +0530 Subject: [PATCH 11/17] fix: undefined columnToPropertyMapping config issue (#1998) * fix: undefined columnToPropertyMapping config issue * chore: code review changes --- src/v0/destinations/monday/util.js | 20 ++-- test/__tests__/data/monday.json | 177 +++++++++++++++++++++++++---- 2 files changed, 169 insertions(+), 28 deletions(-) diff --git a/src/v0/destinations/monday/util.js b/src/v0/destinations/monday/util.js index bd4881dfe4..d0dc60be2b 100644 --- a/src/v0/destinations/monday/util.js +++ b/src/v0/destinations/monday/util.js @@ -1,7 +1,7 @@ const { isNumber } = require('lodash'); const { httpPOST } = require('../../../adapters/network'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); -const { getDestinationExternalID } = require('../../util'); +const { getDestinationExternalID, isDefinedAndNotNull } = require('../../util'); const { NetworkError, ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const tags = require('../../util/tags'); @@ -154,14 +154,16 @@ const getColumnValue = (properties, columnName, key, board) => { */ const mapColumnValues = (properties, columnToPropertyMapping, board) => { const columnValues = {}; - columnToPropertyMapping.forEach((mapping) => { - columnValues[getColumnId(mapping.from, board)] = getColumnValue( - properties, - mapping.from, - mapping.to, - board, - ); - }); + if (isDefinedAndNotNull(columnToPropertyMapping) && Array.isArray(columnToPropertyMapping)) { + columnToPropertyMapping.forEach((mapping) => { + columnValues[getColumnId(mapping.from, board)] = getColumnValue( + properties, + mapping.from, + mapping.to, + board, + ); + }); + } return JSON.stringify(columnValues); }; diff --git a/test/__tests__/data/monday.json b/test/__tests__/data/monday.json index aaa468da85..c7fd615429 100644 --- a/test/__tests__/data/monday.json +++ b/test/__tests__/data/monday.json @@ -8,7 +8,84 @@ "boardId": "339283933", "groupTitle": "", "columnToPropertyMapping": [], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] + } + }, + "message": { + "event": "create an item", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "ujjwal27", + "channel": "web", + "properties": { + "name": "Task 1" + }, + "context": { + "os": { + "name": "", + "version": "" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "locale": "en-US", + "screen": { + "density": 2 + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.11" + }, + "campaign": {}, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0" + }, + "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", + "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", + "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", + "originalTimestamp": "2021-01-03T17:02:53.193Z" + } + }, + "output": { + "body": { + "FORM": {}, + "JSON": { + "query": "mutation { create_item (board_id: 339283933, item_name: \"Task 1\", column_values: \"{}\") {id}}" + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "endpoint": "https://api.monday.com/v2", + "files": {}, + "headers": { + "Authorization": "eywwakzdjiksjhriherniSFsjhnskdojsSDFhsdns.sSRSSREWdnfnsjshfjsjskshfiskskdS__Fskilhih", + "Content-Type": "application/json" + }, + "method": "POST", + "params": {}, + "type": "REST", + "version": "1" + } + }, + { + "description": "Track call with undefined columnToPropertyMapping", + "input": { + "destination": { + "Config": { + "apiToken": "eywwakzdjiksjhriherniSFsjhnskdojsSDFhsdns.sSRSSREWdnfnsjshfjsjskshfiskskdS__Fskilhih", + "boardId": "339283933", + "groupTitle": "", + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -78,7 +155,11 @@ "boardId": "339283933", "groupTitle": "", "columnToPropertyMapping": [], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -131,7 +212,11 @@ "boardId": "339283933", "groupTitle": "", "columnToPropertyMapping": [], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -184,7 +269,11 @@ "boardId": "339283933", "groupTitle": "", "columnToPropertyMapping": [], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -237,7 +326,11 @@ "boardId": "", "groupTitle": "", "columnToPropertyMapping": [], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -290,7 +383,11 @@ "boardId": "339283933", "groupTitle": "", "columnToPropertyMapping": [], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -347,9 +444,16 @@ "from": "Status", "to": "status" }, - { "from": "Email", "to": "emailId" } + { + "from": "Email", + "to": "emailId" + } ], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -426,9 +530,16 @@ "from": "Status", "to": "status" }, - { "from": "Email", "to": "emailId" } + { + "from": "Email", + "to": "emailId" + } ], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -505,9 +616,16 @@ "from": "Status", "to": "status" }, - { "from": "Email", "to": "emailId" } + { + "from": "Email", + "to": "emailId" + } ], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -567,9 +685,16 @@ "from": "Status", "to": "status" }, - { "from": "Email", "to": "emailId" } + { + "from": "Email", + "to": "emailId" + } ], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -629,7 +754,10 @@ "from": "Status", "to": "status" }, - { "from": "Email", "to": "emailId" }, + { + "from": "Email", + "to": "emailId" + }, { "from": "Checkbox", "to": "checked" @@ -671,7 +799,11 @@ "to": "timezone" } ], - "whitelistedEvents": [{ "eventName": "create an item" }] + "whitelistedEvents": [ + { + "eventName": "create an item" + } + ] } }, "message": { @@ -763,9 +895,16 @@ "from": "Status", "to": "status" }, - { "from": "Email", "to": "emailId" } + { + "from": "Email", + "to": "emailId" + } ], - "whitelistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ] } }, "message": { @@ -881,4 +1020,4 @@ "error": "The board with boardId 339283934 does not exist" } } -] +] \ No newline at end of file From 95f297f1d82a1b02b3f1d0949b669510e3b06926 Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com> Date: Mon, 27 Mar 2023 17:21:23 +0530 Subject: [PATCH 12/17] chore: fix syntax issue in staging workflow --- .github/workflows/prepare-for-staging-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prepare-for-staging-deploy.yml b/.github/workflows/prepare-for-staging-deploy.yml index 119620783d..44b9334b1d 100644 --- a/.github/workflows/prepare-for-staging-deploy.yml +++ b/.github/workflows/prepare-for-staging-deploy.yml @@ -221,7 +221,7 @@ jobs: git add values.staging.yaml git commit -m "chore: upgrade staging env transformers to \"$TAG_NAME\"" - git push -u origin $BRANCH_NAME" + git push -u origin $BRANCH_NAME hub pull-request -m "chore: upgrade staging env transformers to \"$TAG_NAME\"" fi From bf5635942a88a3afc25506ba6591bf6b844624f3 Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Tue, 28 Mar 2023 11:08:09 +0530 Subject: [PATCH 13/17] fix(gainsignt_px): undefined attributes issue (#2010) * fix: gainsignt_px undefined attributes issue * chore: code review changes --- src/v0/destinations/gainsight_px/transform.js | 4 +- test/__tests__/data/gainsight_px_input.json | 550 +++++++++++++++--- test/__tests__/data/gainsight_px_output.json | 50 +- 3 files changed, 508 insertions(+), 96 deletions(-) diff --git a/src/v0/destinations/gainsight_px/transform.js b/src/v0/destinations/gainsight_px/transform.js index 7fcfa4e4c5..8cbd398181 100644 --- a/src/v0/destinations/gainsight_px/transform.js +++ b/src/v0/destinations/gainsight_px/transform.js @@ -235,13 +235,13 @@ const trackResponseBuilder = (message, { Config }) => { globalContext = getHashFromArray(Config.globalContextMap, 'from', 'to', false); } - if (payload.attributes && payload.attributes.globalContext) { + if (payload.attributes?.globalContext) { delete payload.attributes.globalContext; } payload = { ...payload, - attributes: formatEventProps(payload.attributes), + attributes: payload.attributes ? formatEventProps(payload.attributes) : {}, propertyKey: Config.productTagKey, userType: 'USER', globalContext: !isEmptyObject(globalContext) ? globalContext : null, diff --git a/test/__tests__/data/gainsight_px_input.json b/test/__tests__/data/gainsight_px_input.json index f0743fc743..795585277b 100644 --- a/test/__tests__/data/gainsight_px_input.json +++ b/test/__tests__/data/gainsight_px_input.json @@ -4,11 +4,27 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], - "userAttributeMap": [{ "from": "", "to": "" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "userAttributeMap": [ + { + "from": "", + "to": "" + } + ], "globalContextMap": [ - { "from": "projectId", "to": "p-123" }, - { "from": "tag", "to": "sample-category-tag" } + { + "from": "projectId", + "to": "p-123" + }, + { + "from": "tag", + "to": "sample-category-tag" + } ] } }, @@ -21,12 +37,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 } + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } }, "userId": "sample-user-id", "messageId": "84e26acc-56a5-4835-8233-591137fca468", @@ -49,7 +73,95 @@ "url": "https://www.website.com/product/path", "image_url": "https://www.website.com/product/path.png" }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + }, + { + "destination": { + "Config": { + "apiKey": "sample-api-key", + "productTagKey": "AP-XABC-123", + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "userAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "globalContextMap": [ + { + "from": "projectId", + "to": "p-123" + }, + { + "from": "tag", + "to": "sample-category-tag" + } + ] + } + }, + "message": { + "channel": "web", + "context": { + "os": { + "name": "", + "version": "" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "version": "1.27.0", + "namespace": "com.rudderlabs.javascript" + }, + "page": { + "url": "http://127.0.0.1:8887/", + "path": "/", + "title": "RudderStack in 5", + "search": "", + "tab_url": "http://127.0.0.1:8887/", + "referrer": "$direct", + "initial_referrer": "$direct", + "referring_domain": "", + "initial_referring_domain": "" + }, + "locale": "en-US", + "screen": { + "width": 1512, + "height": 982, + "density": 2, + "innerWidth": 774, + "innerHeight": 774 + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.27.0" + }, + "campaign": {}, + "sessionId": 1679967592314, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36", + "properties": { + "email": "84@84.com", + "price": "56.0", + "quantity": "5" + } + }, + "userId": "sample-user-id", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "sample-anon-id", + "type": "track", + "event": "Marketing - Plan Change Events", + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -58,11 +170,27 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], - "userAttributeMap": [{ "from": "", "to": "" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "userAttributeMap": [ + { + "from": "", + "to": "" + } + ], "globalContextMap": [ - { "from": "projectId", "to": "p-123" }, - { "from": "tag", "to": "sample-category-tag" } + { + "from": "projectId", + "to": "p-123" + }, + { + "from": "tag", + "to": "sample-category-tag" + } ] } }, @@ -75,12 +203,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 } + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } }, "userId": "sample-user-id", "messageId": "84e26acc-56a5-4835-8233-591137fca468", @@ -95,7 +231,9 @@ "testOverride": "some-value" } }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -104,8 +242,18 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], - "userAttributeMap": [{ "from": "hobbyCustomField", "to": "hobby" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "userAttributeMap": [ + { + "from": "hobbyCustomField", + "to": "hobby" + } + ], "globalContextMap": [] } }, @@ -118,12 +266,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 } + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } }, "messageId": "84e26acc-56a5-4835-8233-591137fca468", "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", @@ -144,7 +300,9 @@ "city": "New York", "hobbyCustomField": "Sample Hobby" }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -153,7 +311,12 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], "userAttributeMap": [], "globalContextMap": [] } @@ -167,12 +330,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 }, + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, "traits": { "type": "USER", "gender": "MALE", @@ -195,7 +366,9 @@ "website": "www.ecorp.com", "plan": "premium" }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -204,8 +377,18 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], - "userAttributeMap": [{ "from": "hobbyCustomField", "to": "hobby" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "userAttributeMap": [ + { + "from": "hobbyCustomField", + "to": "hobby" + } + ], "globalContextMap": [] } }, @@ -218,12 +401,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 } + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } }, "messageId": "84e26acc-56a5-4835-8233-591137fca468", "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", @@ -242,7 +433,9 @@ "city": "New York", "hobbyCustomField": "Sample Hobby" }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -251,11 +444,27 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], - "userAttributeMap": [{ "from": "", "to": "" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "userAttributeMap": [ + { + "from": "", + "to": "" + } + ], "globalContextMap": [ - { "from": "projectId", "to": "p-123" }, - { "from": "tag", "to": "sample-category-tag" } + { + "from": "projectId", + "to": "p-123" + }, + { + "from": "tag", + "to": "sample-category-tag" + } ] } }, @@ -268,12 +477,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 } + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } }, "messageId": "84e26acc-56a5-4835-8233-591137fca468", "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", @@ -294,7 +511,9 @@ "url": "https://www.website.com/product/path", "image_url": "https://www.website.com/product/path.png" }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -303,7 +522,12 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], "userAttributeMap": [], "globalContextMap": [] } @@ -317,12 +541,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 }, + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, "traits": { "type": "USER", "gender": "MALE", @@ -344,7 +576,9 @@ "website": "www.ecorp.com", "plan": "premium" }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -353,11 +587,27 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], - "userAttributeMap": [{ "from": "", "to": "" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "userAttributeMap": [ + { + "from": "", + "to": "" + } + ], "globalContextMap": [ - { "from": "projectId", "to": "p-123" }, - { "from": "tag", "to": "sample-category-tag" } + { + "from": "projectId", + "to": "p-123" + }, + { + "from": "tag", + "to": "sample-category-tag" + } ] } }, @@ -370,12 +620,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 } + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } }, "userId": "sample-user-id", "messageId": "84e26acc-56a5-4835-8233-591137fca468", @@ -387,14 +645,24 @@ "properties": { "description": "Stringify test for object values", "nested": { - "a": [1, 2, 3], + "a": [ + 1, + 2, + 3 + ], "b": { "c": 1 } }, - "arr": [1, 2, 3] + "arr": [ + 1, + 2, + 3 + ] + }, + "integrations": { + "All": true }, - "integrations": { "All": true }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -403,11 +671,27 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], - "userAttributeMap": [{ "from": "", "to": "" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "userAttributeMap": [ + { + "from": "", + "to": "" + } + ], "globalContextMap": [ - { "from": "projectId", "to": "p-123" }, - { "from": "tag", "to": "sample-category-tag" } + { + "from": "projectId", + "to": "p-123" + }, + { + "from": "tag", + "to": "sample-category-tag" + } ] } }, @@ -420,12 +704,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 } + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } }, "userId": "sample-user-id", "messageId": "84e26acc-56a5-4835-8233-591137fca468", @@ -437,17 +729,27 @@ "properties": { "description": "Stringify test for object values", "nested": { - "a": [1, 2, 3], + "a": [ + 1, + 2, + 3 + ], "b": { "c": 1 } }, - "arr": [1, 2, 3], + "arr": [ + 1, + 2, + 3 + ], "globalContext": { "someKey": "someVal" } }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -456,7 +758,12 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], "userAttributeMap": [], "globalContextMap": [] } @@ -470,12 +777,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 }, + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, "traits": { "type": "USER", "gender": "MALE", @@ -498,7 +813,9 @@ "website": "www.ecorp.com", "plan": "premium" }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -507,8 +824,18 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], - "userAttributeMap": [{ "from": "hobbyCustomField", "to": "hobby" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "userAttributeMap": [ + { + "from": "hobbyCustomField", + "to": "hobby" + } + ], "globalContextMap": [] } }, @@ -521,12 +848,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 } + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } }, "messageId": "84e26acc-56a5-4835-8233-591137fca468", "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", @@ -547,7 +882,9 @@ "city": "New York", "hobbyCustomField": "Sample Hobby" }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -556,8 +893,18 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], - "userAttributeMap": [{ "from": "", "to": "" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], + "userAttributeMap": [ + { + "from": "", + "to": "" + } + ], "globalContextMap": [] } }, @@ -570,12 +917,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 } + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } }, "messageId": "84e26acc-56a5-4835-8233-591137fca468", "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", @@ -597,7 +952,9 @@ "hobbyCustomField": "Sample Hobby", "accountId": 1234 }, - "integrations": { "All": true }, + "integrations": { + "All": true + }, "sentAt": "2019-10-14T09:03:22.563Z" } }, @@ -606,7 +963,12 @@ "Config": { "apiKey": "sample-api-key", "productTagKey": "AP-XABC-123", - "accountAttributeMap": [{ "from": "", "to": "" }], + "accountAttributeMap": [ + { + "from": "", + "to": "" + } + ], "userAttributeMap": [], "globalContextMap": [] } @@ -620,12 +982,20 @@ "namespace": "com.rudderlabs.javascript", "version": "1.0.0" }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "locale": "en-US", "ip": "0.0.0.0", - "os": { "name": "", "version": "" }, - "screen": { "density": 2 }, + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, "traits": { "type": "USER", "gender": "MALE", @@ -650,9 +1020,11 @@ }, "integrations": { "All": true, - "GAINSIGHT_PX": { "limitAPIForGroup": true } + "GAINSIGHT_PX": { + "limitAPIForGroup": true + } }, "sentAt": "2019-10-14T09:03:22.563Z" } } -] +] \ No newline at end of file diff --git a/test/__tests__/data/gainsight_px_output.json b/test/__tests__/data/gainsight_px_output.json index c28c3b62dc..d0026b2476 100644 --- a/test/__tests__/data/gainsight_px_output.json +++ b/test/__tests__/data/gainsight_px_output.json @@ -41,6 +41,38 @@ "version": "1", "endpoint": "https://api.aptrinsic.com/v1/events/custom" }, + { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {}, + "JSON": { + "attributes": {}, + "url": "http://127.0.0.1:8887/", + "propertyKey": "AP-XABC-123", + "userType": "USER", + "identifyId": "sample-user-id", + "referrer": "$direct", + "date": 1571043797562, + "sessionId": 1679967592314, + "eventName": "Marketing - Plan Change Events", + "globalContext": { + "projectId": "p-123", + "tag": "sample-category-tag" + } + } + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "X-APTRINSIC-API-KEY": "sample-api-key", + "Content-Type": "application/json" + }, + "version": "1", + "endpoint": "https://api.aptrinsic.com/v1/events/custom" + }, { "body": { "XML": {}, @@ -85,7 +117,9 @@ "signUpDate": 1624431528295, "createDate": 1571043797562, "title": "engineer", - "propertyKeys": ["AP-XABC-123"], + "propertyKeys": [ + "AP-XABC-123" + ], "location": { "countryName": "USA", "countryCode": "US", @@ -219,7 +253,9 @@ "signUpDate": 1624431528295, "createDate": 1571043797562, "title": "engineer", - "propertyKeys": ["AP-XABC-123"], + "propertyKeys": [ + "AP-XABC-123" + ], "location": { "countryName": "USA", "countryCode": "US", @@ -256,7 +292,9 @@ "signUpDate": 1624431528295, "createDate": 1571043797562, "title": "engineer", - "propertyKeys": ["AP-XABC-123"], + "propertyKeys": [ + "AP-XABC-123" + ], "accountId": "1234", "location": { "countryName": "USA", @@ -288,11 +326,13 @@ }, "params": {}, "body": { - "JSON": { "accountId": "ecorp-id" }, + "JSON": { + "accountId": "ecorp-id" + }, "JSON_ARRAY": {}, "XML": {}, "FORM": {} }, "files": {} } -] +] \ No newline at end of file From d17a6b9ab6e0ee1da036cd00ea2cf52ed4da9db7 Mon Sep 17 00:00:00 2001 From: Yashasvi Bajpai <33063622+yashasvibajpai@users.noreply.github.com> Date: Tue, 28 Mar 2023 13:27:53 +0530 Subject: [PATCH 14/17] test: add tests for code coverage (#2012) --- test/__tests__/data/adobe_analytics.json | 1925 +++++++++++++++++++++- 1 file changed, 1919 insertions(+), 6 deletions(-) diff --git a/test/__tests__/data/adobe_analytics.json b/test/__tests__/data/adobe_analytics.json index 27ecb348d3..56cf375060 100644 --- a/test/__tests__/data/adobe_analytics.json +++ b/test/__tests__/data/adobe_analytics.json @@ -82,7 +82,7 @@ "destination": { "Config": { "trackingServerUrl": "flk.gc.gmtidc.net", - "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "https://flk.gc.gmtidc.net", "reportSuiteIds": "footlockerrudderstackpoc", "sslHeartbeat": true, "heartbeatTrackingServerUrl": "", @@ -983,6 +983,10 @@ { "from": "city5", "to": "5" + }, + { + "from": "products.mark6", + "to": "6" } ], "whitelistedEvents": [ @@ -2381,16 +2385,19 @@ "currency": "USD", "position": 1, "url": "https://www.website.com/product/path", - "image_url": "https://www.website.com/product/path.png" + "image_url": "https://www.website.com/product/path.png", + "prodLevelCurrency": "EUR" } ], + "currencyProdMerch": 5, "currencyMerch": 21, "city5": "Kolkata", "phone4": "9935400932", "bikelist": "r15,faze90R", "carlist": "ciaz,hummer,thar", "customprop1": "custompropval1", - "customprop2": "custompropval2" + "customprop2": "custompropval2", + "mark6": "label number 6" }, "timestamp": "2021-09-01T15:46:51.000Z" }, @@ -2499,6 +2506,10 @@ { "from": "city5", "to": "5" + }, + { + "from": "products.mark6", + "to": "6" } ], "rudderEventsToAdobeEvents": [ @@ -2591,7 +2602,7 @@ "JSON": {}, "JSON_ARRAY": {}, "XML": { - "payload": "1794108014.5.67.21en-USAsia/MumbaiDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)Kolkata9935400932com.rudderstack.android.sdk.coreoCurrency test eventNo linkURL providedr15,faze90Rciaz,hummer,tharundefinedcustompropval1custompropval22021-09-01T15:46:51.000Zmktcloudid001event6,event6=21,event2,event6Games;Game;11;148.39;;eVar4=9935400932|eVar5=Kolkatafootlockerrudderstackpoc" + "payload": "1794108014.5.67.21en-USAsia/MumbaiDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)Kolkata9935400932com.rudderstack.android.sdk.coreoCurrency test eventNo linkURL providedr15,faze90Rciaz,hummer,tharundefinedcustompropval1custompropval22021-09-01T15:46:51.000Zmktcloudid001event6,event6=21,event2,event6Games;Game;11;148.39;event6=5|event6=EUR;eVar4=9935400932|eVar5=Kolkata|eVar6=label number 6footlockerrudderstackpoc" }, "FORM": {} }, @@ -2677,7 +2688,9 @@ "bikelist": "r15,faze91R", "carlist": "ciaz,hummer,thar", "customprop1": "custompropval1", - "customprop2": "custompropval2" + "customprop2": "custompropval2", + "hier1": "h1", + "hier2": "h2" }, "originalTimestamp": "2020-01-09T10:01:53.558Z", "type": "track", @@ -2838,6 +2851,16 @@ "to": "2" } ], + "hierMapping": [ + { + "from": "hier1", + "to": "1" + }, + { + "from": "hier2", + "to": "2" + } + ], "customPropsMapping": [ { "from": "customprop1", @@ -2878,7 +2901,7 @@ "params": {}, "body": { "XML": { - "payload": "17941080sales campaignwebUSDen-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestselleryashval2oProduct Viewedhttps://www.estore.com/best-seller/1r15,faze90Rhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1overrideVal12020-01-09T10:01:53.558Zmktcloudid001scAdd;product1;;;event1=1footlockerrudderstackpoc" + "payload": "17941080sales campaignwebUSDen-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestselleryashval2oProduct Viewedhttps://www.estore.com/best-seller/1h1h2r15,faze90Rhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1overrideVal12020-01-09T10:01:53.558Zmktcloudid001scAdd;product1;;;event1=1footlockerrudderstackpoc" }, "FORM": {}, "JSON": {}, @@ -2886,5 +2909,1895 @@ }, "files": {} } + }, + { + "description": "Override hiers test", + "input": { + "message": { + "anonymousId": "73c53c25-42h1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "event": "Product Viewed", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "tsUrl": "footlocker.sc.omtrdc.net", + "overrideProductString": ";product1;;;event1=1", + "overrideEventString": "scAdd", + "overrideEvars": { + "evar1": "yash", + "evar2": "val2" + }, + "overrideLists": { + "list1": "r15,faze90R" + }, + "overrideCustomProperties": { + "prop1": "overrideVal1" + }, + "overrideHiers": { + "hier1": "oh1", + "hier2": "oh2", + "hier3": "newh3" + }, + "product_id": "123", + "sku": "F15", + "category": "Games", + "name": "Game", + "brand": "Gamepro", + "variant": "111", + "price": 13.49, + "quantity": 11, + "coupon": "DISC21", + "currency": "USD", + "position": 1, + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.png", + "currencyMerch": "INR", + "addressMerch": "Delhi", + "currencyProdMerch": "USD", + "addressProdMerch": "SF", + "city5": "Kolkata", + "phone4": "9935400932", + "bikelist": "r15,faze91R", + "carlist": "ciaz,hummer,thar", + "customprop1": "custompropval1", + "customprop2": "custompropval2", + "hier1": "h1", + "hier2": "h2", + "pageName": "hierarchy test" + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + }, + { + "from": "video", + "to": "2" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "watched video", + "to": "event1" + }, + { + "from": "Page View", + "to": "event2" + }, + { + "from": "currency test event", + "to": "event6" + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "hierMapping": [ + { + "from": "hier1", + "to": "1" + }, + { + "from": "hier2", + "to": "2" + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + }, + { + "from": "plan", + "to": "2" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "XML": { + "payload": "17941080sales campaignwebUSDen-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestselleryashval2oProduct Viewedhttps://www.estore.com/best-seller/1oh1oh2newh3r15,faze90Rhttps://www.estore.com/best-seller/1hierarchy testoverrideVal12020-01-09T10:01:53.558Zmktcloudid001scAdd;product1;;;event1=1footlockerrudderstackpoc" + }, + "FORM": {}, + "JSON": {}, + "JSON_ARRAY": {} + }, + "files": {} + } + }, + { + "description": "product level eVaR", + "input": { + "message": { + "anonymousId": "73c53c25-42h1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "event": "Product Viewed", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "tsUrl": "footlocker.sc.omtrdc.net", + "overrideProductString": ";product1;;;event1=1", + "overrideEventString": "scAdd", + "overrideEvars": { + "evar1": "yash", + "evar2": "val2" + }, + "overrideLists": { + "list1": "r15,faze90R" + }, + "overrideCustomProperties": { + "prop1": "overrideVal1" + }, + "overrideHiers": { + "hier1": "oh1", + "hier2": "oh2", + "hier3": "newh3" + }, + "product_id": "123", + "sku": "F15", + "category": "Games", + "name": "Game", + "brand": "Gamepro", + "variant": "111", + "price": 13.49, + "quantity": 11, + "coupon": "DISC21", + "currency": "USD", + "position": 1, + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.png", + "currencyMerch": "INR", + "addressMerch": "Delhi", + "currencyProdMerch": "USD", + "addressProdMerch": "SF", + "city5": "Kolkata", + "phone4": "9935400932", + "bikelist": "r15,faze91R", + "carlist": "ciaz,hummer,thar", + "customprop1": "custompropval1", + "customprop2": "custompropval2", + "hier1": "h1", + "hier2": "h2", + "pageName": "hierarchy test", + "mark6": "label mark" + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + }, + { + "from": "video", + "to": "2" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + }, + { + "from": "products.mark6", + "to": "6" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "watched video", + "to": "event1" + }, + { + "from": "Page View", + "to": "event2" + }, + { + "from": "currency test event", + "to": "event6" + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "hierMapping": [ + { + "from": "hier1", + "to": "1" + }, + { + "from": "hier2", + "to": "2" + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + }, + { + "from": "plan", + "to": "2" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ] + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://flk.gc.gmtidc.net/b/ss//6", + "headers": { "Content-type": "application/xml" }, + "params": {}, + "body": { + "XML": { + "payload": "17941080sales campaignwebUSDen-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestselleryashval2oProduct Viewedhttps://www.estore.com/best-seller/1oh1oh2newh3r15,faze90Rhttps://www.estore.com/best-seller/1hierarchy testoverrideVal12020-01-09T10:01:53.558Zmktcloudid001scAdd;product1;;;event1=1footlockerrudderstackpoc" + }, + "FORM": {}, + "JSON": {}, + "JSON_ARRAY": {} + }, + "files": {} + } + }, + { + "description": "[ERROR]: Invalid message type: Identify", + "input": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", + "locale": "en-US", + "ip": "0.0.0.0", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "user_properties": { + "prop1": "val1", + "prop2": "val2" + }, + "type": "identify", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "userId": "user001", + "anonymousId": "anony001", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "currency test event", + "to": "event6" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + }, + { + "from": "products.mark6", + "to": "6" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "currency test event", + "to": "event6" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + }, + { + "from": "products.mark6", + "to": "6" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + }, + "statusCode": 400, + "error": "Message type is not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "ADOBE_ANALYTICS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + }, + { + "description": "[ERROR]: Message Type is not present.", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": {}, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": { + "roott01": "roottval001" + }, + "event": "currency test event", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "cart_id": "12345", + "mark6": "label number 6", + "products": [ + { + "product_id": "123", + "sku": "G-14", + "name": "Cards", + "price": 14.99, + "position": 1, + "category": "Games", + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.jpg" + }, + { + "product_id": "345", + "sku": "G-32", + "name": "UNO", + "price": 3.99, + "position": 2, + "category": "Games" + } + ] + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "currency test event", + "to": "event6" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + }, + { + "from": "products.mark6", + "to": "6" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "currency test event", + "to": "event6" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + }, + { + "from": "products.mark6", + "to": "6" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + }, + "statusCode": 400, + "error": "Message Type is not present. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "ADOBE_ANALYTICS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + }, + { + "description": "[ERROR]: The event is not a supported ECOM event or a mapped custom event.", + "input": { + "message": { + "anonymousId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "channel": "web", + "context": { + "ip": "127.0.0.1", + "campaign": { + "name": "sales campaign", + "source": "google", + "medium": "medium", + "term": "event data", + "content": "Make sense of the modern data stack" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.1" + }, + "locale": "en-US", + "page": { + "path": "/best-seller/1", + "initial_referrer": "https://www.google.com/search", + "initial_referring_domain": "google.com", + "referrer": "https://www.google.com/search?q=estore+bestseller", + "referring_domain": "google.com", + "search": "estore bestseller", + "title": "The best sellers offered by EStore", + "url": "https://www.estore.com/best-seller/1" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080, + "innerHeight": 200, + "innerWidth": 100 + }, + "traits": {}, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "traits": { + "roott01": "roottval001" + }, + "event": "random unmapped event", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "cart_id": "12345", + "mark6": "label number 6", + "products": [ + { + "product_id": "123", + "sku": "G-14", + "name": "Cards", + "price": 14.99, + "position": 1, + "category": "Games", + "url": "https://www.website.com/product/path", + "image_url": "https://www.website.com/product/path.jpg" + }, + { + "product_id": "345", + "sku": "G-32", + "name": "UNO", + "price": 3.99, + "position": 2, + "category": "Games" + } + ] + }, + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "currency test event", + "to": "event6" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + }, + { + "from": "products.mark6", + "to": "6" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + } + }, + "output": { + "destination": { + "Config": { + "trackingServerUrl": "flk.gc.gmtidc.net", + "trackingServerSecureUrl": "flk.gc.gmtidc.net", + "reportSuiteIds": "footlockerrudderstackpoc", + "sslHeartbeat": true, + "heartbeatTrackingServerUrl": "", + "useUtf8Charset": true, + "useSecureServerSide": true, + "proxyNormalUrl": "", + "proxyHeartbeatUrl": "", + "marketingCloudOrgId": "mktcloudid001", + "dropVisitorId": false, + "timestampOption": "enabled", + "timestampOptionalReporting": true, + "noFallbackVisitorId": false, + "preferVisitorId": false, + "trackPageName": true, + "contextDataPrefix": "", + "useLegacyLinkName": true, + "pageNameFallbackTostring": true, + "sendFalseValues": true, + "productIdentifier": "name", + "eventFilteringOption": "disable", + "eventsToTypes": [ + { + "from": "init heartbeat", + "to": "initHeartbeat" + } + ], + "rudderEventsToAdobeEvents": [ + { + "from": "product viewed", + "to": "event1" + }, + { + "from": "currency test event", + "to": "event6" + } + ], + "contextDataMapping": [ + { + "from": "tt01", + "to": "tt01" + }, + { + "from": "tt02", + "to": "tt02" + }, + { + "from": "roott01", + "to": "roott01" + } + ], + "eVarMapping": [ + { + "from": "city5", + "to": "5" + }, + { + "from": "phone4", + "to": "4" + }, + { + "to": "6", + "from": "context.library.name" + } + ], + "listMapping": [ + { + "from": "bikelist", + "to": "1" + }, + { + "from": "carlist", + "to": "2" + } + ], + "listDelimiter": [ + { + "from": "bikelist", + "to": "," + }, + { + "from": "carlist", + "to": "," + } + ], + "customPropsMapping": [ + { + "from": "customprop1", + "to": "1" + }, + { + "from": "customprop2", + "to": "2" + } + ], + "propsDelimiter": [ + { + "from": "customprop1", + "to": "," + }, + { + "from": "customprop2", + "to": "," + } + ], + "eventMerchEventToAdobeEvent": [ + { + "from": "product not viewed", + "to": "event1" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "eventMerchProperties": [ + { + "eventMerchProperties": "currencyMerch" + }, + { + "eventMerchProperties": "addressMerch" + } + ], + "productMerchEventToAdobeEvent": [ + { + "from": "product list viewed", + "to": "event2" + }, + { + "from": "Currency test event", + "to": "event6" + } + ], + "productMerchProperties": [ + { + "productMerchProperties": "currencyProdMerch" + }, + { + "productMerchProperties": "addressProdMerch" + }, + { + "productMerchProperties": "products.prodLevelCurrency" + } + ], + "productMerchEvarsMap": [ + { + "from": "phone4", + "to": "4" + }, + { + "from": "city5", + "to": "5" + }, + { + "from": "products.mark6", + "to": "6" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] + } + }, + "statusCode": 400, + "error": "The event is not a supported ECOM event or a mapped custom event. Aborting.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "ADOBE_ANALYTICS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } } ] From 453d488c1c0dd03705dcef18610aee7d4b42846d Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 28 Mar 2023 08:00:11 +0000 Subject: [PATCH 15/17] chore(release): 1.20.0 --- CHANGELOG.md | 471 ++++++++++++++++++++++++++++++++++++++++++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 473 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 001023c28b..e0020e4a8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,477 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.20.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.19.0...v1.20.0) (2023-03-28) + + +### Bug Fixes + +* **gainsignt_px:** undefined attributes issue ([#2010](https://github.com/rudderlabs/rudder-transformer/issues/2010)) ([bf56359](https://github.com/rudderlabs/rudder-transformer/commit/bf5635942a88a3afc25506ba6591bf6b844624f3)) +* **monday:** axios call empty response issue ([#2001](https://github.com/rudderlabs/rudder-transformer/issues/2001)) ([196294f](https://github.com/rudderlabs/rudder-transformer/commit/196294f70bc967efea70aef084268db9c567417a)) +* **rockerbox:** make email as non-required field ([#1995](https://github.com/rudderlabs/rudder-transformer/issues/1995)) ([2f7ebff](https://github.com/rudderlabs/rudder-transformer/commit/2f7ebff62c8934165c1271a7c019c2b0b5b2a4b3)) +* **snapchat_conversion:** price calculation ([#1988](https://github.com/rudderlabs/rudder-transformer/issues/1988)) ([8240224](https://github.com/rudderlabs/rudder-transformer/commit/82402242a1ffe9ccc75671023cff1ebbbcb390e6)) +* **test-cases:** fix test cases to use template like secret keys ([#1973](https://github.com/rudderlabs/rudder-transformer/issues/1973)) ([f709d1f](https://github.com/rudderlabs/rudder-transformer/commit/f709d1fb9d1d22e306fc600872dd2b702436f961)) +* undefined columnToPropertyMapping config issue ([#1998](https://github.com/rudderlabs/rudder-transformer/issues/1998)) ([ef7a351](https://github.com/rudderlabs/rudder-transformer/commit/ef7a3511e26e652caa54fb600db01ebe6bd0cc3d)) + +## [1.18.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.17.0...v1.18.0) (2023-03-23) + + +### Features + +* **indicative:** parse user agent info ([#1971](https://github.com/rudderlabs/rudder-transformer/issues/1971)) ([1328b5a](https://github.com/rudderlabs/rudder-transformer/commit/1328b5ac38f9d21def89bacbbca4891dbd6e4450)) + + +### Bug Fixes + +* changelog ([d8d81a2](https://github.com/rudderlabs/rudder-transformer/commit/d8d81a2d4ad428be2936932f22e63fd9007d9799)) +* ga4 user_properties structure ([#1982](https://github.com/rudderlabs/rudder-transformer/issues/1982)) ([3d81202](https://github.com/rudderlabs/rudder-transformer/commit/3d81202fcd88b8033504e9f5aa5d095e6863dc76)) +* tik-tok ads offline events email array issue ([#1979](https://github.com/rudderlabs/rudder-transformer/issues/1979)) ([3c7f4ac](https://github.com/rudderlabs/rudder-transformer/commit/3c7f4ac60ec564198f0bf0524a0780dfc581140a)) + +## [1.17.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.16.2...v1.17.0) (2023-03-21) + + +### Features + +* add default action source ([#1957](https://github.com/rudderlabs/rudder-transformer/issues/1957)) ([043cae2](https://github.com/rudderlabs/rudder-transformer/commit/043cae2802c81e7a1d25d266eaeca06a3000aeaa)) +* **braze:** refactor code custom attribute operations ([#1943](https://github.com/rudderlabs/rudder-transformer/issues/1943)) ([9c91bfc](https://github.com/rudderlabs/rudder-transformer/commit/9c91bfc4f7eeeaa1e97174a2c96c1902c6817c6a)) +* **mix-panel:** add support for multiple group key value ([#1773](https://github.com/rudderlabs/rudder-transformer/issues/1773)) ([e7a8d48](https://github.com/rudderlabs/rudder-transformer/commit/e7a8d489cb3fda2718e106730d69506e6f56c9f3)) + + +### Bug Fixes + +* added products array check for iterable destination ([#1949](https://github.com/rudderlabs/rudder-transformer/issues/1949)) ([87db73e](https://github.com/rudderlabs/rudder-transformer/commit/87db73e062dcac54fdb1906659a90d2df0f13648)) +* **fb pixel:** ecomm ([#1932](https://github.com/rudderlabs/rudder-transformer/issues/1932)) ([8d5e07a](https://github.com/rudderlabs/rudder-transformer/commit/8d5e07a2862ee757ecd3523b36e150f29a134b0f)), closes [#1964](https://github.com/rudderlabs/rudder-transformer/issues/1964) +* **firehose:** handle undefined message type ([#1942](https://github.com/rudderlabs/rudder-transformer/issues/1942)) ([d3ea664](https://github.com/rudderlabs/rudder-transformer/commit/d3ea664c182cc1702ab0298cf79ecad2aae7ce6b)) +* **integration:** pinterest content_id field dropped when having null value to match with cdkv2 ([#1950](https://github.com/rudderlabs/rudder-transformer/issues/1950)) ([09995e9](https://github.com/rudderlabs/rudder-transformer/commit/09995e9cc9931827d8be5b1ede59be9ce77c0cd4)) + +### [1.16.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.16.1...v1.16.2) (2023-03-16) + + +### Bug Fixes + +* add optional chaining for phone in tiktok_ads_offline_events ([37dc013](https://github.com/rudderlabs/rudder-transformer/commit/37dc0139a28fab113eac4b337f3475ac2ea29262)) + +### [1.16.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.16.0...v1.16.1) (2023-03-15) + + +### Bug Fixes + +* **fb pixel:** add default action source ([#1946](https://github.com/rudderlabs/rudder-transformer/issues/1946)) ([2e03f4d](https://github.com/rudderlabs/rudder-transformer/commit/2e03f4dcfbfb1c6d35aecf950e0f1e3828ceaaef)) + +## [1.16.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.15.1...v1.16.0) (2023-03-14) + + +### Features + +* **facebook_app_events:** update api version ([#1921](https://github.com/rudderlabs/rudder-transformer/issues/1921)) ([793ebfb](https://github.com/rudderlabs/rudder-transformer/commit/793ebfb39e8667882cd40ff4add2ea6b5dfb9564)) + + +### Bug Fixes + +* changelog ([ef13dd8](https://github.com/rudderlabs/rudder-transformer/commit/ef13dd8bef572c80ddb8511abb7d5be23cc5dd81)) +* create pull-request jobs in workflows ([36b2677](https://github.com/rudderlabs/rudder-transformer/commit/36b2677209b9b34a33375381dd74a74988e11dd2)) +* syntax issue in workflow ([09d7659](https://github.com/rudderlabs/rudder-transformer/commit/09d765912ef07552729c1193e28c1bd149f68401)) +* syntax issue in workflow ([c84ef6e](https://github.com/rudderlabs/rudder-transformer/commit/c84ef6e1d1b4feefb208e10c316c4f5bd647efa3)) +* **util:** getDestinationExternalIDObjectForRetl funciton ([#1919](https://github.com/rudderlabs/rudder-transformer/issues/1919)) ([235243d](https://github.com/rudderlabs/rudder-transformer/commit/235243de9afb1b52b56b7db9170e5eb3345b1de6)) + +### [1.15.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.15.0...v1.15.1) (2023-03-13) + + +### Features + +* mautic: support self hosted instance ([#1909](https://github.com/rudderlabs/rudder-transformer/issues/1909)) ([7c0a724](https://github.com/rudderlabs/rudder-transformer/commit/7c0a7240d9fcef45e4066a4a7dee8234c7e782d3)) +* moenagae alias call support ([#1930](https://github.com/rudderlabs/rudder-transformer/issues/1930)) ([194bf8e](https://github.com/rudderlabs/rudder-transformer/commit/194bf8e3e2f47ca63ee273c9255468b41bc6ffcf)) +* transformation secrets ([#1912](https://github.com/rudderlabs/rudder-transformer/issues/1912)) ([a0b488a](https://github.com/rudderlabs/rudder-transformer/commit/a0b488a4514c9c868f39d000a4ae40aa3f7b5de6)) + + +### Bug Fixes + +* client_id mapping for ga4 ([#1904](https://github.com/rudderlabs/rudder-transformer/issues/1904)) ([9aaf908](https://github.com/rudderlabs/rudder-transformer/commit/9aaf90864bd489fb463a56f62a673ead2bb83fe5)) +* **destination:** add channel as platform ([#1906](https://github.com/rudderlabs/rudder-transformer/issues/1906)) ([4cfbbd0](https://github.com/rudderlabs/rudder-transformer/commit/4cfbbd02530d1cc02b1b04ab5c721f1b642d41bc)) +* remove ga4 identify call support for cloud mode and treat identify call event as track events (login, sign_up and generate_lead) ([#1903](https://github.com/rudderlabs/rudder-transformer/issues/1903)) ([fa8fd74](https://github.com/rudderlabs/rudder-transformer/commit/fa8fd74f14d0ac6707f83ed81897a541ae6191e6)) +* **slack:** handlebars error handling ([#1910](https://github.com/rudderlabs/rudder-transformer/issues/1910)) ([0c6bc2e](https://github.com/rudderlabs/rudder-transformer/commit/0c6bc2edb17986a1d99365a4468a67bd65e09e47)) + +## [1.15.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.14.0...v1.15.0) (2023-03-07) + + +### Features + +* log process memory errors ([#1920](https://github.com/rudderlabs/rudder-transformer/issues/1920)) ([076d7b5](https://github.com/rudderlabs/rudder-transformer/commit/076d7b58831b035102a0544985d9a1ff67ef1791)) +* revamp github actions for release management ([#1898](https://github.com/rudderlabs/rudder-transformer/issues/1898)) ([8847f58](https://github.com/rudderlabs/rudder-transformer/commit/8847f589dc2248d4210c82326022d9f459b2f888)) +* suppress errors from unwanted modules to bugsnag ([#1907](https://github.com/rudderlabs/rudder-transformer/issues/1907)) ([9e6a1c0](https://github.com/rudderlabs/rudder-transformer/commit/9e6a1c0bd3dfa79e2a470eefad7d4c9b34c842cb)) + + +### Bug Fixes + +* correcting method name for prepareProxy ([#1923](https://github.com/rudderlabs/rudder-transformer/issues/1923)) ([cfed522](https://github.com/rudderlabs/rudder-transformer/commit/cfed5228be21bd8d7f5a2ea8bc4b97c973a112be)) +* **fb pixel:** zp mapping and external_id ([#1908](https://github.com/rudderlabs/rudder-transformer/issues/1908)) ([c8665d4](https://github.com/rudderlabs/rudder-transformer/commit/c8665d4475fe06d45d3b4fdd26b46247be0188f6)) +* **ga4:** product array issue ([#1845](https://github.com/rudderlabs/rudder-transformer/issues/1845)) ([3d24e93](https://github.com/rudderlabs/rudder-transformer/commit/3d24e93a6c00c3d2bd425012e4b315997b5e05b6)) +* updated batching logic for pinterest_tag ([#1878](https://github.com/rudderlabs/rudder-transformer/issues/1878)) ([e38d772](https://github.com/rudderlabs/rudder-transformer/commit/e38d7721451d4c43d8c1fe67d28566302dced440)) + +## [1.14.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.13.0...v1.14.0) (2023-02-28) + + +### Features + +* added customerio group call support ([#1869](https://github.com/rudderlabs/rudder-transformer/issues/1869)) ([5e692ea](https://github.com/rudderlabs/rudder-transformer/commit/5e692ead3c43819edd47f8cf244a3f78ce510359)) +* added new destination vitally ([#1892](https://github.com/rudderlabs/rudder-transformer/issues/1892)) ([8638ee7](https://github.com/rudderlabs/rudder-transformer/commit/8638ee7765b4e3ecf215ec90056d03cffb42f5f6)) +* include latest image of transformer ([#1879](https://github.com/rudderlabs/rudder-transformer/issues/1879)) ([b179fef](https://github.com/rudderlabs/rudder-transformer/commit/b179fef031fe06aa8d4e3b258c4740b45f4387bb)) +* onboard courier destination ([#1844](https://github.com/rudderlabs/rudder-transformer/issues/1844)) ([#1883](https://github.com/rudderlabs/rudder-transformer/issues/1883)) ([18bcdf8](https://github.com/rudderlabs/rudder-transformer/commit/18bcdf8b4b1f0b63cbe3f839df38f4b6b6875e98)) +* python libraries ([#1855](https://github.com/rudderlabs/rudder-transformer/issues/1855)) ([01f3df5](https://github.com/rudderlabs/rudder-transformer/commit/01f3df5ad5868a3604715c26f7ea9d8dea82860b)) +* **transformation:** adding rudder libraries support ([#1817](https://github.com/rudderlabs/rudder-transformer/issues/1817)) ([1c91d22](https://github.com/rudderlabs/rudder-transformer/commit/1c91d22795b142a90011e35cf85d1a4ac8eaa545)) + + +### Bug Fixes + +* **active-campaign:** add check before iterating stored event array ([#1902](https://github.com/rudderlabs/rudder-transformer/issues/1902)) ([9666e85](https://github.com/rudderlabs/rudder-transformer/commit/9666e851751101efc99f1d48018a9ae1ed6a9b8e)) +* **integration:** Algolia in CDK v2 now errors out for non string event names ([#1867](https://github.com/rudderlabs/rudder-transformer/issues/1867)) ([5be8891](https://github.com/rudderlabs/rudder-transformer/commit/5be88917270a9fb1c28fdd7f547e9a017aacf56d)) +* logger import ([#1874](https://github.com/rudderlabs/rudder-transformer/issues/1874)) ([7ff1b4a](https://github.com/rudderlabs/rudder-transformer/commit/7ff1b4a11fe530de45dacce1da7bf0d58d4b38fd)) +* package.json & package-lock.json to reduce vulnerabilities ([#1885](https://github.com/rudderlabs/rudder-transformer/issues/1885)) ([11b4a4b](https://github.com/rudderlabs/rudder-transformer/commit/11b4a4b523b00dffb0c9d0017a6ed3279fc596d2)) + +## [1.13.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.12.0...v1.13.0) (2023-02-15) + + +### Features + +* **destination:** onboard criteo audience ([#1792](https://github.com/rudderlabs/rudder-transformer/issues/1792)) ([5904c75](https://github.com/rudderlabs/rudder-transformer/commit/5904c75042c7cb34320fc43bcd3b54bfe5ce97fc)) +* **integration:** rockerbox - add support for custom properties mapping ([#1815](https://github.com/rudderlabs/rudder-transformer/issues/1815)) ([8ba50d2](https://github.com/rudderlabs/rudder-transformer/commit/8ba50d2249d5bd5db84ff9c37323e618b5942ec5)) +* **integration:** rockerbox - allow all properties to be passed over to rockerbox ([#1838](https://github.com/rudderlabs/rudder-transformer/issues/1838)) ([fb64039](https://github.com/rudderlabs/rudder-transformer/commit/fb6403992c76077398a9f8b5ac4cbe9fb28fd073)) +* **integrations:** onboarding webhook to CDK v2 ([#1783](https://github.com/rudderlabs/rudder-transformer/issues/1783)) ([22d583a](https://github.com/rudderlabs/rudder-transformer/commit/22d583ae2c239f532629a0d0db055658e2eda65d)) +* **mailchimp:** add support for track call ([#1814](https://github.com/rudderlabs/rudder-transformer/issues/1814)) ([94c10ba](https://github.com/rudderlabs/rudder-transformer/commit/94c10ba971a54f5f9894c0107a96a121068994cf)) +* moengage source ([#1846](https://github.com/rudderlabs/rudder-transformer/issues/1846)) ([123a2d9](https://github.com/rudderlabs/rudder-transformer/commit/123a2d9f57fd4f0c76f939b8d56edbbbc995ab00)) +* **new integration:** onboard optimizely fullstack cloud mode ([#1805](https://github.com/rudderlabs/rudder-transformer/issues/1805)) ([5373185](https://github.com/rudderlabs/rudder-transformer/commit/537318589110672ad6f453510a19e7fde3bfd2bb)) +* shopify - add cart token, order token and checkout token in the Context object ([#1847](https://github.com/rudderlabs/rudder-transformer/issues/1847)) ([88e8fe0](https://github.com/rudderlabs/rudder-transformer/commit/88e8fe0a14766532739aaf800cebb61b0ef6175d)) +* **source:** initial commit for identity stitching in shopify ([#1810](https://github.com/rudderlabs/rudder-transformer/issues/1810)) ([7b662df](https://github.com/rudderlabs/rudder-transformer/commit/7b662dfbf192f08f7bd2baf8dbd9dc5f12a8f23e)) +* **transformation:** libraries import extractor ([#1851](https://github.com/rudderlabs/rudder-transformer/issues/1851)) ([462bba9](https://github.com/rudderlabs/rudder-transformer/commit/462bba9e9ed49f0a76a8bb0e4d0b444e324f208c)) +* userId to be converted to string for Router ([#1822](https://github.com/rudderlabs/rudder-transformer/issues/1822)) ([7ec03c6](https://github.com/rudderlabs/rudder-transformer/commit/7ec03c66632513da4a311c3e19abcb3accf3437e)) + + +### Bug Fixes + +* **active_campaign:** handle bad url string while formatting with domainUrlV2 ([#1816](https://github.com/rudderlabs/rudder-transformer/issues/1816)) ([7fd15be](https://github.com/rudderlabs/rudder-transformer/commit/7fd15be8633c9cc6fcb4448f73042d641f81356c)) +* amplitude check for actionKey before accessing it ([#1833](https://github.com/rudderlabs/rudder-transformer/issues/1833)) ([5071582](https://github.com/rudderlabs/rudder-transformer/commit/50715827981e70e814c427cfa0359de16fb3c554)) +* bugsnag errors ([#1863](https://github.com/rudderlabs/rudder-transformer/issues/1863)) ([ae627d3](https://github.com/rudderlabs/rudder-transformer/commit/ae627d3adc48aa5ab390461693005d8957757430)) +* **CDK v2:** editing CDK v2 for pinterest tag for num_items field ([#1840](https://github.com/rudderlabs/rudder-transformer/issues/1840)) ([b1265c0](https://github.com/rudderlabs/rudder-transformer/commit/b1265c0949f8352881dfb13d5d31ba712e26363b)) +* codebuild issue ([16eab14](https://github.com/rudderlabs/rudder-transformer/commit/16eab14e627184d04b1a7dbb1fdd3388ff065c85)) +* criteo_audience: stringification of destination error ([#1839](https://github.com/rudderlabs/rudder-transformer/issues/1839)) ([fe17453](https://github.com/rudderlabs/rudder-transformer/commit/fe17453db7bef03916feb271bae1c25b613829da)) +* ga4 userId issue ([#1857](https://github.com/rudderlabs/rudder-transformer/issues/1857)) ([cd30c47](https://github.com/rudderlabs/rudder-transformer/commit/cd30c47f292db71a8961bef6b38a3478316e00b9)) +* **integration:** Pinterest conversion in CDK v2 returns correct num_items for single product array ([#1861](https://github.com/rudderlabs/rudder-transformer/issues/1861)) ([8c8c316](https://github.com/rudderlabs/rudder-transformer/commit/8c8c316b9ba795111f716c314cedb189e968260e)) +* **integrations:** salesforce update error message and error response handler ([#1799](https://github.com/rudderlabs/rudder-transformer/issues/1799)) ([b473c23](https://github.com/rudderlabs/rudder-transformer/commit/b473c2389909e1f06d8d79b279e66b86b414c908)) +* **klaviyo:** skip profile lookup call for rETL events ([#1856](https://github.com/rudderlabs/rudder-transformer/issues/1856)) ([9e6b5e4](https://github.com/rudderlabs/rudder-transformer/commit/9e6b5e4c145d64341e043014baed4e344fecc74c)) +* order_token updated in shopify ([#1865](https://github.com/rudderlabs/rudder-transformer/issues/1865)) ([7fc608e](https://github.com/rudderlabs/rudder-transformer/commit/7fc608e0f1c264c4494b987e0102ff48aa51e4fe)) +* package.json & package-lock.json to reduce vulnerabilities ([#1824](https://github.com/rudderlabs/rudder-transformer/issues/1824)) ([779edb2](https://github.com/rudderlabs/rudder-transformer/commit/779edb290b04694b126739708a30be024a53fe33)) +* refactor subscribe user flow to stop subscribing user without consent ([#1841](https://github.com/rudderlabs/rudder-transformer/issues/1841)) ([fe231c2](https://github.com/rudderlabs/rudder-transformer/commit/fe231c280a1250413f4b665820e4da303e05259a)) +* set context as metadata in bugsnag error notification ([#1778](https://github.com/rudderlabs/rudder-transformer/issues/1778)) ([55c3097](https://github.com/rudderlabs/rudder-transformer/commit/55c309716877b303943c18537352347b83d72c2f)) +* **singular:** undefined properties object for track ([#1808](https://github.com/rudderlabs/rudder-transformer/issues/1808)) ([f53bec1](https://github.com/rudderlabs/rudder-transformer/commit/f53bec192825aedfcf320197c386a449f9677816)) +* **transformation:** release isolate in case of error while creating ([#1850](https://github.com/rudderlabs/rudder-transformer/issues/1850)) ([ea51e24](https://github.com/rudderlabs/rudder-transformer/commit/ea51e24a893daa18e9b30463e9300ce029230a00)) +* typecast userId, anonymousId to string ([2150033](https://github.com/rudderlabs/rudder-transformer/commit/215003381557c583bd8889cef121ebbba56785c2)) +* undefined check added for isHybridModeEnabled function ([#1812](https://github.com/rudderlabs/rudder-transformer/issues/1812)) ([a49be9e](https://github.com/rudderlabs/rudder-transformer/commit/a49be9e77b6ba6bc1ef5087208ddc1a135e4301e)) +* update check for props value ([343e946](https://github.com/rudderlabs/rudder-transformer/commit/343e946ed4adc89ad8c17d945b69c2f3f3be7506)) + +## [1.12.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.11.0...v1.12.0) (2023-01-19) + + +### Features + +* **BQStream:** add batch support ([#1377](https://github.com/rudderlabs/rudder-transformer/issues/1377)) ([14c7531](https://github.com/rudderlabs/rudder-transformer/commit/14c7531635b5348ef518dcad483f25d4adeddddd)) +* **destination:** onboard lemnisk integration ([#1787](https://github.com/rudderlabs/rudder-transformer/issues/1787)) ([3c6b9e1](https://github.com/rudderlabs/rudder-transformer/commit/3c6b9e148dff559357fb61de49602f9d1689d699)), closes [#1728](https://github.com/rudderlabs/rudder-transformer/issues/1728) +* ga4 page calls are discarded if hybrid mode is enabled ([#1794](https://github.com/rudderlabs/rudder-transformer/issues/1794)) ([ca12d07](https://github.com/rudderlabs/rudder-transformer/commit/ca12d078e3f936c4c0fd4449259d1a55ba0a4424)) +* sessionId consistency across destinations ([#1789](https://github.com/rudderlabs/rudder-transformer/issues/1789)) ([ff68a44](https://github.com/rudderlabs/rudder-transformer/commit/ff68a4488e50f4a44c950395d0f9e5dc514db1df)) + + +### Bug Fixes + +* add missing implementation stat tag for router transformation ([#1779](https://github.com/rudderlabs/rudder-transformer/issues/1779)) ([5ebde56](https://github.com/rudderlabs/rudder-transformer/commit/5ebde56ea644f81d1a17fa4d85697821879fa191)) +* add sources as valid channel to cdkv1 ([bd74ef7](https://github.com/rudderlabs/rudder-transformer/commit/bd74ef7eff712d4db75856a205ddaa473d80ddd9)) +* add sources as valid channel to cdkv1 ([#1803](https://github.com/rudderlabs/rudder-transformer/issues/1803)) ([e3057db](https://github.com/rudderlabs/rudder-transformer/commit/e3057dbff9d8daa1f64b5cd6de6b57ab97c016ee)) +* add validation for event name as string ([#1768](https://github.com/rudderlabs/rudder-transformer/issues/1768)) ([c48ec5e](https://github.com/rudderlabs/rudder-transformer/commit/c48ec5e3cd6590e5c766bc3afac9eb5c368b85f0)) +* array type check for externalIdArray ([#1785](https://github.com/rudderlabs/rudder-transformer/issues/1785)) ([dec3bb6](https://github.com/rudderlabs/rudder-transformer/commit/dec3bb6661b6737203964b2c4b5e3d2bd7421433)) +* bugsnag error fixes for salesforce, garl, gaoc ([#1776](https://github.com/rudderlabs/rudder-transformer/issues/1776)) ([553c5de](https://github.com/rudderlabs/rudder-transformer/commit/553c5defc098e01e74d98606cf59baa9008b814d)) +* change destination configuration errors to abortable ([#1790](https://github.com/rudderlabs/rudder-transformer/issues/1790)) ([fb1281d](https://github.com/rudderlabs/rudder-transformer/commit/fb1281d2bc090bda34c7420c10946504e83756ef)) +* destination transformation change from processor to router ([#1754](https://github.com/rudderlabs/rudder-transformer/issues/1754)) ([674d476](https://github.com/rudderlabs/rudder-transformer/commit/674d476bd1e55194456798c7a83bd27a62b868e3)) +* **integration:** GAOC - fix timestamp format, allow calls without custom variables ([#1796](https://github.com/rudderlabs/rudder-transformer/issues/1796)) ([7c450ee](https://github.com/rudderlabs/rudder-transformer/commit/7c450ee78db2052bbb70866cbc6bd98cfd9c32b4)) +* iterable alias call is separated from identify batching ([#1777](https://github.com/rudderlabs/rudder-transformer/issues/1777)) ([3676c45](https://github.com/rudderlabs/rudder-transformer/commit/3676c4591e8b241ad6a7873954bc8f07e7a69584)) +* products array mapping and rename impact_radius to impact ([#1797](https://github.com/rudderlabs/rudder-transformer/issues/1797)) ([f812f0d](https://github.com/rudderlabs/rudder-transformer/commit/f812f0d3fbff6d6bfdd3670c59cf8ea01744f80f)) +* proper error throw in gaec ([#1767](https://github.com/rudderlabs/rudder-transformer/issues/1767)) ([a2ed19d](https://github.com/rudderlabs/rudder-transformer/commit/a2ed19dc0b5eb6bbaec7dd88b25762553b1aae79)) +* remove regex validation for phone_number ([#1771](https://github.com/rudderlabs/rudder-transformer/issues/1771)) ([6c01642](https://github.com/rudderlabs/rudder-transformer/commit/6c016428b496cea7e3771d3cf5ab4dfbbd7e382b)) +* revert salesforce fix for undefined access_token ([#1780](https://github.com/rudderlabs/rudder-transformer/issues/1780)) ([d917b2e](https://github.com/rudderlabs/rudder-transformer/commit/d917b2e61afbdfb697e5d6066aa6e34fd9f71427)) +* send dest info for failed events ([#1770](https://github.com/rudderlabs/rudder-transformer/issues/1770)) ([9f108c0](https://github.com/rudderlabs/rudder-transformer/commit/9f108c0b6a0978b7ca71d1b1bbeaafbba8dce2ee)) + +## [1.11.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.10.0...v1.11.0) (2023-01-10) + + +### Features + +* [impact radius] onboard impact radius cloud mode destination ([#1730](https://github.com/rudderlabs/rudder-transformer/issues/1730)) ([8d55c24](https://github.com/rudderlabs/rudder-transformer/commit/8d55c24930e45ddb0a38d1e2ca935b11d8fac665)), closes [#1764](https://github.com/rudderlabs/rudder-transformer/issues/1764) +* appcenter updated to support test events ([#1741](https://github.com/rudderlabs/rudder-transformer/issues/1741)) ([00648da](https://github.com/rudderlabs/rudder-transformer/commit/00648da21286cf4170e395e601dcd4b7d199957f)) +* **braze:** nested array ops ([#1753](https://github.com/rudderlabs/rudder-transformer/issues/1753)) ([0658a5f](https://github.com/rudderlabs/rudder-transformer/commit/0658a5f323a7b076a88fcb987f2ac25ea803552f)) +* clientId support added for ga4 hybrid mode ([#1759](https://github.com/rudderlabs/rudder-transformer/issues/1759)) ([04638cb](https://github.com/rudderlabs/rudder-transformer/commit/04638cb1550c05435a12d8ed481fd55c13e667da)) +* **destination:** onboard discord ([#1725](https://github.com/rudderlabs/rudder-transformer/issues/1725)) ([4f6323b](https://github.com/rudderlabs/rudder-transformer/commit/4f6323bcb5e13fb70fd0fd879c64917d46120a34)), closes [#1647](https://github.com/rudderlabs/rudder-transformer/issues/1647) [#1644](https://github.com/rudderlabs/rudder-transformer/issues/1644) [#1656](https://github.com/rudderlabs/rudder-transformer/issues/1656) [#1658](https://github.com/rudderlabs/rudder-transformer/issues/1658) [#1665](https://github.com/rudderlabs/rudder-transformer/issues/1665) [#1649](https://github.com/rudderlabs/rudder-transformer/issues/1649) [#1652](https://github.com/rudderlabs/rudder-transformer/issues/1652) [#1651](https://github.com/rudderlabs/rudder-transformer/issues/1651) [#1669](https://github.com/rudderlabs/rudder-transformer/issues/1669) [#1673](https://github.com/rudderlabs/rudder-transformer/issues/1673) [#1638](https://github.com/rudderlabs/rudder-transformer/issues/1638) [#1641](https://github.com/rudderlabs/rudder-transformer/issues/1641) [#1653](https://github.com/rudderlabs/rudder-transformer/issues/1653) [#1661](https://github.com/rudderlabs/rudder-transformer/issues/1661) [#1666](https://github.com/rudderlabs/rudder-transformer/issues/1666) [#1667](https://github.com/rudderlabs/rudder-transformer/issues/1667) [#1671](https://github.com/rudderlabs/rudder-transformer/issues/1671) [#1659](https://github.com/rudderlabs/rudder-transformer/issues/1659) [#1654](https://github.com/rudderlabs/rudder-transformer/issues/1654) [#1655](https://github.com/rudderlabs/rudder-transformer/issues/1655) [#1670](https://github.com/rudderlabs/rudder-transformer/issues/1670) [#1657](https://github.com/rudderlabs/rudder-transformer/issues/1657) [#1672](https://github.com/rudderlabs/rudder-transformer/issues/1672) [#1642](https://github.com/rudderlabs/rudder-transformer/issues/1642) [#1645](https://github.com/rudderlabs/rudder-transformer/issues/1645) [#1650](https://github.com/rudderlabs/rudder-transformer/issues/1650) [#1639](https://github.com/rudderlabs/rudder-transformer/issues/1639) [#1674](https://github.com/rudderlabs/rudder-transformer/issues/1674) [#1660](https://github.com/rudderlabs/rudder-transformer/issues/1660) [#1648](https://github.com/rudderlabs/rudder-transformer/issues/1648) [#1675](https://github.com/rudderlabs/rudder-transformer/issues/1675) [#1677](https://github.com/rudderlabs/rudder-transformer/issues/1677) [#1678](https://github.com/rudderlabs/rudder-transformer/issues/1678) [#1676](https://github.com/rudderlabs/rudder-transformer/issues/1676) [#1680](https://github.com/rudderlabs/rudder-transformer/issues/1680) [#1682](https://github.com/rudderlabs/rudder-transformer/issues/1682) [#1681](https://github.com/rudderlabs/rudder-transformer/issues/1681) [#1684](https://github.com/rudderlabs/rudder-transformer/issues/1684) [#1685](https://github.com/rudderlabs/rudder-transformer/issues/1685) [#1686](https://github.com/rudderlabs/rudder-transformer/issues/1686) [#1687](https://github.com/rudderlabs/rudder-transformer/issues/1687) [#1688](https://github.com/rudderlabs/rudder-transformer/issues/1688) [#1689](https://github.com/rudderlabs/rudder-transformer/issues/1689) [#1690](https://github.com/rudderlabs/rudder-transformer/issues/1690) [#1691](https://github.com/rudderlabs/rudder-transformer/issues/1691) [#1692](https://github.com/rudderlabs/rudder-transformer/issues/1692) [#1697](https://github.com/rudderlabs/rudder-transformer/issues/1697) [#1699](https://github.com/rudderlabs/rudder-transformer/issues/1699) [#1700](https://github.com/rudderlabs/rudder-transformer/issues/1700) [#1698](https://github.com/rudderlabs/rudder-transformer/issues/1698) [#1704](https://github.com/rudderlabs/rudder-transformer/issues/1704) [#1705](https://github.com/rudderlabs/rudder-transformer/issues/1705) +* **destination:** onboard pipedream ([#1703](https://github.com/rudderlabs/rudder-transformer/issues/1703)) ([f03e86a](https://github.com/rudderlabs/rudder-transformer/commit/f03e86a89c1123310b5d9507c5e4d82ea3d4bbf8)) +* **destination:** onboard TikTok_Ads_Offline_Events ([#1749](https://github.com/rudderlabs/rudder-transformer/issues/1749)) ([67a3a4e](https://github.com/rudderlabs/rudder-transformer/commit/67a3a4ef6f9caa3a87afce09d502a702c584ce33)) +* ga4 hybrid mode support ([#1709](https://github.com/rudderlabs/rudder-transformer/issues/1709)) ([08779d4](https://github.com/rudderlabs/rudder-transformer/commit/08779d4b8ff94bd21d9ef3600736503193da1620)) +* **integration:** adobe_analytics-fix typo, add missing mapping ([#1763](https://github.com/rudderlabs/rudder-transformer/issues/1763)) ([32f65dc](https://github.com/rudderlabs/rudder-transformer/commit/32f65dcdd3d807be1eb9a409a7b5b1d0892b067a)) +* **new integration:** onboarding sendinblue cloud mode destination ([#1662](https://github.com/rudderlabs/rudder-transformer/issues/1662)) ([e265e66](https://github.com/rudderlabs/rudder-transformer/commit/e265e66a900671f537198769b8ee0c61694bdbf2)) +* onboard pagerduty destination ([#1736](https://github.com/rudderlabs/rudder-transformer/issues/1736)) ([a947b10](https://github.com/rudderlabs/rudder-transformer/commit/a947b10c5d642463d1a03061906520ebbfdc9b05)) +* onboard pagerduty source ([#1721](https://github.com/rudderlabs/rudder-transformer/issues/1721)) ([927fa95](https://github.com/rudderlabs/rudder-transformer/commit/927fa951c35cfe098dfdb3e5499fdffcc47cb18d)) +* **pinterest:** add ldp support ([#1731](https://github.com/rudderlabs/rudder-transformer/issues/1731)) ([a54d074](https://github.com/rudderlabs/rudder-transformer/commit/a54d074f547e5e1d291bf6fa830afc013c2c7146)) +* **transformation:** faas integration for python transformations ([#1664](https://github.com/rudderlabs/rudder-transformer/issues/1664)) ([5ac8ac5](https://github.com/rudderlabs/rudder-transformer/commit/5ac8ac54b2e10ff600ab7c08b8a9ce3e6a345bee)) + + +### Bug Fixes + +* **amplitude:** added an error validation at processor ([#1717](https://github.com/rudderlabs/rudder-transformer/issues/1717)) ([424bce9](https://github.com/rudderlabs/rudder-transformer/commit/424bce9cc72a2196a955efd08e643d04e337317a)) +* **destination:** credentials exposure on live events for aws lambda ([#1726](https://github.com/rudderlabs/rudder-transformer/issues/1726)) ([589fc40](https://github.com/rudderlabs/rudder-transformer/commit/589fc407d2c4449628fa7915289ae9a1c97d20d4)) +* encode email with encodeUriComponent before searching ([#1729](https://github.com/rudderlabs/rudder-transformer/issues/1729)) ([21b624f](https://github.com/rudderlabs/rudder-transformer/commit/21b624f59c098a0459a16347e1845d7a661377fd)) +* **facebook pixel:** error code mapping for transformer proxy ([#1738](https://github.com/rudderlabs/rudder-transformer/issues/1738)) ([4e98299](https://github.com/rudderlabs/rudder-transformer/commit/4e98299298f10dc5ae39d5a3994746515622c729)) +* fixed flattenJson method ([#1718](https://github.com/rudderlabs/rudder-transformer/issues/1718)) ([9edb44e](https://github.com/rudderlabs/rudder-transformer/commit/9edb44e11b9b7ae059e9f4cfa88633e3fa4cd902)) +* hotfix for zendesk global variable ([a5d4424](https://github.com/rudderlabs/rudder-transformer/commit/a5d442405b3b55cc3bafd1389a771904d31da7c6)) +* set content_type product by default ([#1761](https://github.com/rudderlabs/rudder-transformer/issues/1761)) ([6f9cda1](https://github.com/rudderlabs/rudder-transformer/commit/6f9cda143cb8ab6b215f4b3684c5375a76d160fd)) +* user deletion handlers implementation across destinations ([#1748](https://github.com/rudderlabs/rudder-transformer/issues/1748)) ([786cfe0](https://github.com/rudderlabs/rudder-transformer/commit/786cfe0d0849d68a511c920d6c292ef3f73aee7f)), closes [#1720](https://github.com/rudderlabs/rudder-transformer/issues/1720) [#1719](https://github.com/rudderlabs/rudder-transformer/issues/1719) [#1723](https://github.com/rudderlabs/rudder-transformer/issues/1723) [#1751](https://github.com/rudderlabs/rudder-transformer/issues/1751) [#1750](https://github.com/rudderlabs/rudder-transformer/issues/1750) [#1735](https://github.com/rudderlabs/rudder-transformer/issues/1735) +* **zendesk:** remove endpoint global variable ([#1746](https://github.com/rudderlabs/rudder-transformer/issues/1746)) ([836c37e](https://github.com/rudderlabs/rudder-transformer/commit/836c37eb069ee88d24806e692ec70e0d0b045ae1)) + +## [1.10.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.9.1...v1.10.0) (2022-12-20) + + +### Features + +* introduce new tags and error classes ([#1631](https://github.com/rudderlabs/rudder-transformer/issues/1631)) ([0615a31](https://github.com/rudderlabs/rudder-transformer/commit/0615a3196d4203f6f648a4e04ca84e7ede405895)), closes [#1647](https://github.com/rudderlabs/rudder-transformer/issues/1647) [#1644](https://github.com/rudderlabs/rudder-transformer/issues/1644) [#1656](https://github.com/rudderlabs/rudder-transformer/issues/1656) [#1658](https://github.com/rudderlabs/rudder-transformer/issues/1658) [#1665](https://github.com/rudderlabs/rudder-transformer/issues/1665) [#1649](https://github.com/rudderlabs/rudder-transformer/issues/1649) [#1652](https://github.com/rudderlabs/rudder-transformer/issues/1652) [#1651](https://github.com/rudderlabs/rudder-transformer/issues/1651) [#1669](https://github.com/rudderlabs/rudder-transformer/issues/1669) [#1673](https://github.com/rudderlabs/rudder-transformer/issues/1673) [#1638](https://github.com/rudderlabs/rudder-transformer/issues/1638) [#1641](https://github.com/rudderlabs/rudder-transformer/issues/1641) [#1653](https://github.com/rudderlabs/rudder-transformer/issues/1653) [#1661](https://github.com/rudderlabs/rudder-transformer/issues/1661) [#1666](https://github.com/rudderlabs/rudder-transformer/issues/1666) [#1667](https://github.com/rudderlabs/rudder-transformer/issues/1667) [#1671](https://github.com/rudderlabs/rudder-transformer/issues/1671) [#1659](https://github.com/rudderlabs/rudder-transformer/issues/1659) [#1654](https://github.com/rudderlabs/rudder-transformer/issues/1654) [#1655](https://github.com/rudderlabs/rudder-transformer/issues/1655) [#1670](https://github.com/rudderlabs/rudder-transformer/issues/1670) [#1657](https://github.com/rudderlabs/rudder-transformer/issues/1657) [#1672](https://github.com/rudderlabs/rudder-transformer/issues/1672) [#1642](https://github.com/rudderlabs/rudder-transformer/issues/1642) [#1645](https://github.com/rudderlabs/rudder-transformer/issues/1645) [#1650](https://github.com/rudderlabs/rudder-transformer/issues/1650) [#1639](https://github.com/rudderlabs/rudder-transformer/issues/1639) [#1674](https://github.com/rudderlabs/rudder-transformer/issues/1674) [#1660](https://github.com/rudderlabs/rudder-transformer/issues/1660) [#1648](https://github.com/rudderlabs/rudder-transformer/issues/1648) [#1675](https://github.com/rudderlabs/rudder-transformer/issues/1675) [#1677](https://github.com/rudderlabs/rudder-transformer/issues/1677) [#1678](https://github.com/rudderlabs/rudder-transformer/issues/1678) [#1676](https://github.com/rudderlabs/rudder-transformer/issues/1676) [#1680](https://github.com/rudderlabs/rudder-transformer/issues/1680) [#1682](https://github.com/rudderlabs/rudder-transformer/issues/1682) [#1681](https://github.com/rudderlabs/rudder-transformer/issues/1681) [#1684](https://github.com/rudderlabs/rudder-transformer/issues/1684) [#1685](https://github.com/rudderlabs/rudder-transformer/issues/1685) [#1686](https://github.com/rudderlabs/rudder-transformer/issues/1686) [#1687](https://github.com/rudderlabs/rudder-transformer/issues/1687) [#1688](https://github.com/rudderlabs/rudder-transformer/issues/1688) [#1689](https://github.com/rudderlabs/rudder-transformer/issues/1689) [#1690](https://github.com/rudderlabs/rudder-transformer/issues/1690) [#1691](https://github.com/rudderlabs/rudder-transformer/issues/1691) [#1692](https://github.com/rudderlabs/rudder-transformer/issues/1692) [#1697](https://github.com/rudderlabs/rudder-transformer/issues/1697) [#1699](https://github.com/rudderlabs/rudder-transformer/issues/1699) [#1700](https://github.com/rudderlabs/rudder-transformer/issues/1700) [#1698](https://github.com/rudderlabs/rudder-transformer/issues/1698) [#1704](https://github.com/rudderlabs/rudder-transformer/issues/1704) [#1705](https://github.com/rudderlabs/rudder-transformer/issues/1705) + + +### Bug Fixes + +* minor issues ([#1711](https://github.com/rudderlabs/rudder-transformer/issues/1711)) ([fdea0bd](https://github.com/rudderlabs/rudder-transformer/commit/fdea0bd74529d7f4625885a594eea9fa20a0f20a)) + +### [1.9.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.9.0...v1.9.1) (2022-12-16) + + +### Bug Fixes + +* **trackingplan:** error message population ([#1706](https://github.com/rudderlabs/rudder-transformer/issues/1706)) ([72079a7](https://github.com/rudderlabs/rudder-transformer/commit/72079a7a71f52d44b057df6a910f0b0b54108f72)) + +## [1.9.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.8.0...v1.9.0) (2022-12-16) + + +### Features + +* **destination:** onboard pipedream as event stream source ([#1634](https://github.com/rudderlabs/rudder-transformer/issues/1634)) ([477e2f7](https://github.com/rudderlabs/rudder-transformer/commit/477e2f79704576c5611a9a7e97faf066db10dd87)) +* map the usertraits for all event in Posthog ([#1636](https://github.com/rudderlabs/rudder-transformer/issues/1636)) ([3a12f79](https://github.com/rudderlabs/rudder-transformer/commit/3a12f793073ab360ef5f235aac77b3c587c16006)) +* onboard ga4 hybrid mode ([#1617](https://github.com/rudderlabs/rudder-transformer/issues/1617)) ([0986b76](https://github.com/rudderlabs/rudder-transformer/commit/0986b769d2e2d84314724a16c322cd05d9fa8bd4)) +* onboard pinterest and algolia to json template engine ([#1640](https://github.com/rudderlabs/rudder-transformer/issues/1640)) ([f0f4717](https://github.com/rudderlabs/rudder-transformer/commit/f0f471762dae0ccc8f3449c50f1602bf03a54ec5)) + + +### Bug Fixes + +* **destination:** follow ecommerce spec in tiktok_ads ([#1629](https://github.com/rudderlabs/rudder-transformer/issues/1629)) ([a258bfb](https://github.com/rudderlabs/rudder-transformer/commit/a258bfb4b746aa48c12435792adb477a2957334e)) +* upgrade base node image in dockerfiles ([#1702](https://github.com/rudderlabs/rudder-transformer/issues/1702)) ([a26b20e](https://github.com/rudderlabs/rudder-transformer/commit/a26b20e43915cb8020e46e16c1997b38663f1899)) + +## [1.8.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.7.0...v1.8.0) (2022-12-07) + + +### Features + +* added subscription group in braze ([#1597](https://github.com/rudderlabs/rudder-transformer/issues/1597)) ([f321f4e](https://github.com/rudderlabs/rudder-transformer/commit/f321f4e525c077c06c853530d8c8c23da35baee1)) +* **clevertap:** onboarding clevertap transformer proxy ([#1596](https://github.com/rudderlabs/rudder-transformer/issues/1596)) ([5479aa6](https://github.com/rudderlabs/rudder-transformer/commit/5479aa6afde2171bfd767602c55a36590ed7059b)) +* **destination:** add groupId support as groupKey in mixpanel ([#1590](https://github.com/rudderlabs/rudder-transformer/issues/1590)) ([a33adc6](https://github.com/rudderlabs/rudder-transformer/commit/a33adc6c12a4f7cd6b62955bc29d58206034b3c4)) +* **destination:** cache eviction in salesforce ([#1598](https://github.com/rudderlabs/rudder-transformer/issues/1598)) ([9af5552](https://github.com/rudderlabs/rudder-transformer/commit/9af55520f3199b4ad0027edac4650b81193ff9c5)) +* **destination:** onboard awin integration ([#1589](https://github.com/rudderlabs/rudder-transformer/issues/1589)) ([f015518](https://github.com/rudderlabs/rudder-transformer/commit/f0155185d3a9b9dfa3681a9b52c64fe5e24d6d6d)) +* **destination:** onboard marketo static list ([#1558](https://github.com/rudderlabs/rudder-transformer/issues/1558)) ([db73de9](https://github.com/rudderlabs/rudder-transformer/commit/db73de99dd538eb1c820d3bd2d42689163993cfe)) +* **destination:** onboard persistIq ([#1612](https://github.com/rudderlabs/rudder-transformer/issues/1612)) ([103ad00](https://github.com/rudderlabs/rudder-transformer/commit/103ad00df7d28d3368382cf7b0099c901bb853e4)) +* **destination:** singular- add support for other apple os ([#1611](https://github.com/rudderlabs/rudder-transformer/issues/1611)) ([63f23d8](https://github.com/rudderlabs/rudder-transformer/commit/63f23d8dc8bcf80b84b0976903dfb360785bec86)) +* ga user delete support ([#1531](https://github.com/rudderlabs/rudder-transformer/issues/1531)) ([eb198dd](https://github.com/rudderlabs/rudder-transformer/commit/eb198dd085d16d9c9069352cec8bfb6f33247654)), closes [#1551](https://github.com/rudderlabs/rudder-transformer/issues/1551) +* ga4 hybrid mode suport ([#1607](https://github.com/rudderlabs/rudder-transformer/issues/1607)) ([3edaa10](https://github.com/rudderlabs/rudder-transformer/commit/3edaa10741b2527bb05e13b129f233cba781d1e3)) +* **integration:** shopify- Add topic support in context for debugging ([#1602](https://github.com/rudderlabs/rudder-transformer/issues/1602)) ([ff3fab2](https://github.com/rudderlabs/rudder-transformer/commit/ff3fab2ec13e012aad1920c6b86b6b3e78062690)) +* **integrations:** update primary email for zendesk ([#1604](https://github.com/rudderlabs/rudder-transformer/issues/1604)) ([157f91e](https://github.com/rudderlabs/rudder-transformer/commit/157f91ef5654fddda90e8eb3e1f5899cee681854)) +* onboard olark source ([#1614](https://github.com/rudderlabs/rudder-transformer/issues/1614)) ([64db0ec](https://github.com/rudderlabs/rudder-transformer/commit/64db0ec3a77a58a61d456ac66d91bcc1ee172c64)) +* **source:** onboard satismeter as an event-stream ([#1594](https://github.com/rudderlabs/rudder-transformer/issues/1594)) ([53b9d6f](https://github.com/rudderlabs/rudder-transformer/commit/53b9d6ffaf0db1daa3eda8f8c89a0034cb50164e)) + + +### Bug Fixes + +* bugsnag bug fixes for several destinations and sources ([#1585](https://github.com/rudderlabs/rudder-transformer/issues/1585)) ([c222dc6](https://github.com/rudderlabs/rudder-transformer/commit/c222dc6cbc489d23ad9b38137c449e76084b458e)) +* **destination:** empty params fix in awin ([#1628](https://github.com/rudderlabs/rudder-transformer/issues/1628)) ([e36ab45](https://github.com/rudderlabs/rudder-transformer/commit/e36ab455ce33a308c58aed84c51fef7f9b80ea26)) +* email not required for update call ([#1626](https://github.com/rudderlabs/rudder-transformer/issues/1626)) ([51dcbd9](https://github.com/rudderlabs/rudder-transformer/commit/51dcbd9a0efee2cdc3342bdcc96c67783a5aa118)) +* fixed encryption info and quantity mandatory in CM360 ([#1618](https://github.com/rudderlabs/rudder-transformer/issues/1618)) ([bbe0a26](https://github.com/rudderlabs/rudder-transformer/commit/bbe0a2689930ed783abfd1cf6ea66d50cf1cf826)) +* remove disable destination category for OAuth destinations ([#1601](https://github.com/rudderlabs/rudder-transformer/issues/1601)) ([06f9ee7](https://github.com/rudderlabs/rudder-transformer/commit/06f9ee749d692ec781d53aa229fd58964d0420dd)) +* saas -> master ([#1603](https://github.com/rudderlabs/rudder-transformer/issues/1603)) ([b154e1d](https://github.com/rudderlabs/rudder-transformer/commit/b154e1d61bd894e27f62ecc737d1dd0f1b16d28a)), closes [#1601](https://github.com/rudderlabs/rudder-transformer/issues/1601) [#1606](https://github.com/rudderlabs/rudder-transformer/issues/1606) + +## [1.7.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.6.0...v1.7.0) (2022-11-17) + + +### Features + +* add support for topic parsing ([#1574](https://github.com/rudderlabs/rudder-transformer/issues/1574)) ([da64878](https://github.com/rudderlabs/rudder-transformer/commit/da648788ab0460bd231cf9147fb9852747551ef8)) +* **destination:** add partner_name for tiktok ads ([#1583](https://github.com/rudderlabs/rudder-transformer/issues/1583)) ([12265a9](https://github.com/rudderlabs/rudder-transformer/commit/12265a952a171627ac05d7eab8899d97ceade13c)) +* **destination:** onboard campaign manager ([#1580](https://github.com/rudderlabs/rudder-transformer/issues/1580)) ([b823a53](https://github.com/rudderlabs/rudder-transformer/commit/b823a538ca4d4f38faa4762ae986375e0eb8ae05)) +* sendgrid idetify and user deletion support ([#1571](https://github.com/rudderlabs/rudder-transformer/issues/1571)) ([caee969](https://github.com/rudderlabs/rudder-transformer/commit/caee969c79ce9673096d0fc4d08be3ba942ce9f5)) + + +### Bug Fixes + +* (marketo) logger import ([#1576](https://github.com/rudderlabs/rudder-transformer/issues/1576)) ([c83f046](https://github.com/rudderlabs/rudder-transformer/commit/c83f046ee8baed0e61e8c4d2ac78fec74d74b794)) +* add test coverage for processMetadata function ([#1567](https://github.com/rudderlabs/rudder-transformer/issues/1567)) ([b438daa](https://github.com/rudderlabs/rudder-transformer/commit/b438daad9bf0c845d867e0261ff69e77fc3ee0cd)) +* **destination:** fix the flattening issue solve for ga4 ([#1581](https://github.com/rudderlabs/rudder-transformer/issues/1581)) ([bea730d](https://github.com/rudderlabs/rudder-transformer/commit/bea730da510c016bd3a71cb519316375b44ea6d3)) +* **destination:** revamp group call in Gainsight_PX to reduce API calls ([#1578](https://github.com/rudderlabs/rudder-transformer/issues/1578)) ([f641cc0](https://github.com/rudderlabs/rudder-transformer/commit/f641cc0d3b64fcb736bbd4d5208819958bacb393)) +* **destination:** update formating of user traits in facebook pixel ([#1579](https://github.com/rudderlabs/rudder-transformer/issues/1579)) ([b7772e4](https://github.com/rudderlabs/rudder-transformer/commit/b7772e41530f1d4e88263408d4ff3532c187eaf5)) +* **integration:** Shopify - correct typo in customer_disabled, add to track_maps ([#1573](https://github.com/rudderlabs/rudder-transformer/issues/1573)) ([cfb5c56](https://github.com/rudderlabs/rudder-transformer/commit/cfb5c56bdc70e52dc996fdfc9c26743a6728d875)) +* **transformation:** convert slash to dot to get valid docker image name ([#1564](https://github.com/rudderlabs/rudder-transformer/issues/1564)) ([f1b6b94](https://github.com/rudderlabs/rudder-transformer/commit/f1b6b946e1a6eb519560b675f3fce10d1e833950)) +* typo in topic mapping for shopify source ([#1566](https://github.com/rudderlabs/rudder-transformer/issues/1566)) ([0ecf278](https://github.com/rudderlabs/rudder-transformer/commit/0ecf278be9a2435ed67fee299350a34c4b13bb9a)) + +## [1.6.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.5.0...v1.6.0) (2022-11-10) + + +### Features + +* **destination:** skip unix timestamp conversion if already being sent from source ([#1560](https://github.com/rudderlabs/rudder-transformer/issues/1560)) ([a52cbd7](https://github.com/rudderlabs/rudder-transformer/commit/a52cbd797fa8a0ccec6589ff78b966da26040fbc)) +* **destination:** stringify the object and array for Clevertap ([#1554](https://github.com/rudderlabs/rudder-transformer/issues/1554)) ([1c7b459](https://github.com/rudderlabs/rudder-transformer/commit/1c7b459d74ae0b17360d0e49e9bc11557e6f4233)) +* **destination:** support custom mapping with client_id for ga4 destination ([#1553](https://github.com/rudderlabs/rudder-transformer/issues/1553)) ([e9f056b](https://github.com/rudderlabs/rudder-transformer/commit/e9f056bacad84d7e59e58904626c6eb7edcc4686)) +* **destination:** update identify call to set primary email for Zendesk([#1539](https://github.com/rudderlabs/rudder-transformer/issues/1539)) ([ed307a3](https://github.com/rudderlabs/rudder-transformer/commit/ed307a31ff46575f3a606a0894eeeaaec0b40c00)) +* **marketo:** add dynamic ttl & cache eviction support ([#1519](https://github.com/rudderlabs/rudder-transformer/issues/1519)) ([19f1081](https://github.com/rudderlabs/rudder-transformer/commit/19f1081cc32ba9798876dcb9d46d9d094c171e1d)) +* support custom webhooks in auth0 source transformer ([#1527](https://github.com/rudderlabs/rudder-transformer/issues/1527)) ([ebc005f](https://github.com/rudderlabs/rudder-transformer/commit/ebc005f84d3af4a7a32f362cc7ece842c8f269a1)) + + +### Bug Fixes + +* (marketo)- remove duplicate responseHandler from util and refactor ([#1557](https://github.com/rudderlabs/rudder-transformer/issues/1557)) ([144793e](https://github.com/rudderlabs/rudder-transformer/commit/144793eef2c83b9bc43b989b061c7c7a7c4f07fe)) +* **destination:** do not update event properties to lowercase in hubspot ([#1559](https://github.com/rudderlabs/rudder-transformer/issues/1559)) ([e41b37f](https://github.com/rudderlabs/rudder-transformer/commit/e41b37f38f1f9de87fa452ea30c6587d87a95a5d)) +* ecom events properties mapping correction ([#1549](https://github.com/rudderlabs/rudder-transformer/issues/1549)) ([0e9c816](https://github.com/rudderlabs/rudder-transformer/commit/0e9c816092c5fc777f2d472e13ec3aa94def2160)) +* incorrect lodash cloneDeep import ([#1545](https://github.com/rudderlabs/rudder-transformer/issues/1545)) ([5e70dca](https://github.com/rudderlabs/rudder-transformer/commit/5e70dcae665f3610ea6e65bb2d6303b9a547036e)) +* suppress cdk error types ([#1555](https://github.com/rudderlabs/rudder-transformer/issues/1555)) ([9215a7c](https://github.com/rudderlabs/rudder-transformer/commit/9215a7ca272122199202d26301f9515a1a3bd6b0)) + +## [1.5.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.4.0...v1.5.0) (2022-11-03) + + +### Features + +* added multitopic support for kafka ([#1488](https://github.com/rudderlabs/rudder-transformer/issues/1488)) ([bd1298b](https://github.com/rudderlabs/rudder-transformer/commit/bd1298b57358cf62a2ef7f74fe06ba0200bda488)) +* **new integration:** onboarding snapchat custom audience ([#1443](https://github.com/rudderlabs/rudder-transformer/issues/1443)) ([1e00248](https://github.com/rudderlabs/rudder-transformer/commit/1e0024824074e4b66a67f38302ec02d611e7a8c7)) + + +### Bug Fixes + +* fixing errors caught by bugsnag ([#1536](https://github.com/rudderlabs/rudder-transformer/issues/1536)) ([9c43896](https://github.com/rudderlabs/rudder-transformer/commit/9c43896f27be87d8c024a61b4cb4a09124918f23)) +* suppress errors thrown from the transformers in bugsnag notifier ([#1534](https://github.com/rudderlabs/rudder-transformer/issues/1534)) ([1ca8e9f](https://github.com/rudderlabs/rudder-transformer/commit/1ca8e9f704eb03699c198c91cf1691ccdfa42772)) + +## [1.4.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.3.0...v1.4.0) (2022-11-01) + + +### Features + +* **integration:** onboarding gainsight px source ([#1500](https://github.com/rudderlabs/rudder-transformer/issues/1500)) ([0d0cce5](https://github.com/rudderlabs/rudder-transformer/commit/0d0cce5299b0cad9c616cb7b0bbee92f6f414732)) +* onboard algolia destination to cdk 2.0 ([#1474](https://github.com/rudderlabs/rudder-transformer/issues/1474)) ([e716d84](https://github.com/rudderlabs/rudder-transformer/commit/e716d8458d636854f59a555cafc2a7b00a0b1b50)) + + +### Bug Fixes + +* **amplitude:** send error response instead of discarding the event during batch processing ([#1521](https://github.com/rudderlabs/rudder-transformer/issues/1521)) ([fece19f](https://github.com/rudderlabs/rudder-transformer/commit/fece19fccff44a31d1d96c43bd138ce6f2cce10d)) +* cdk based live compare test results ([#1483](https://github.com/rudderlabs/rudder-transformer/issues/1483)) ([d8f32c3](https://github.com/rudderlabs/rudder-transformer/commit/d8f32c3d522a6e3b33023828e1bd8b870046861f)) +* error stat issue for algolia ([#1528](https://github.com/rudderlabs/rudder-transformer/issues/1528)) ([3a7482c](https://github.com/rudderlabs/rudder-transformer/commit/3a7482cf4f6d37785e9ef595bd7e4a9d54aebedb)) +* upgrade ajv from 8.6.1 to 8.11.0 ([#1372](https://github.com/rudderlabs/rudder-transformer/issues/1372)) ([f3b54c0](https://github.com/rudderlabs/rudder-transformer/commit/f3b54c0876bb7be79244e02e31517db13260c610)) +* upgrade axios from 0.26.1 to 0.27.2 ([#1403](https://github.com/rudderlabs/rudder-transformer/issues/1403)) ([1186518](https://github.com/rudderlabs/rudder-transformer/commit/1186518cf89ad4de3ad16ae0a0fcb09e148bdfe5)) + +## [1.3.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.2.0...v1.3.0) (2022-10-25) + + +### Features + +* **error reporting:** integrate bugsnag ([#1469](https://github.com/rudderlabs/rudder-transformer/issues/1469)) ([39b5fa2](https://github.com/rudderlabs/rudder-transformer/commit/39b5fa22ddb8e79d540242c66732cdcb31760ba9)) +* **integrations:** added support for catalogs iterable with vdm rETL source ([#1439](https://github.com/rudderlabs/rudder-transformer/issues/1439)) ([586f771](https://github.com/rudderlabs/rudder-transformer/commit/586f771f8e0733ac2f79ea4741bb155eb24910ca)) +* **new integration:** factorsAi ([#1490](https://github.com/rudderlabs/rudder-transformer/issues/1490)) ([1000ca8](https://github.com/rudderlabs/rudder-transformer/commit/1000ca8853b48f65bf1e8db0e2999f1d4b47387b)) + + +### Bug Fixes + +* bugsnag error notify handler ([#1512](https://github.com/rudderlabs/rudder-transformer/issues/1512)) ([d947c0e](https://github.com/rudderlabs/rudder-transformer/commit/d947c0ec23998ce54553839cf4b2e337c379713e)) +* **mixpanel:** stripped off last 36 characters of insert_id ([#1503](https://github.com/rudderlabs/rudder-transformer/issues/1503)) ([550faec](https://github.com/rudderlabs/rudder-transformer/commit/550faecae92d48364b0fdebb8e50c057c0dfffe2)) +* posthog group update ([#1496](https://github.com/rudderlabs/rudder-transformer/issues/1496)) ([154f656](https://github.com/rudderlabs/rudder-transformer/commit/154f656e2d437c1c54a6ef85c1b37f65fe154f14)) +* skip adding Id field to salesforce payload for retl ([#1501](https://github.com/rudderlabs/rudder-transformer/issues/1501)) ([d2808f4](https://github.com/rudderlabs/rudder-transformer/commit/d2808f42ae3d3281468dbec1fc13e1511a45ebcd)) +* upgrade @aws-sdk/client-s3 from 3.56.0 to 3.180.0 ([#1505](https://github.com/rudderlabs/rudder-transformer/issues/1505)) ([58c0179](https://github.com/rudderlabs/rudder-transformer/commit/58c01795f2c5b767e614c0d1777d7173eb741d17)) +* upgrade @aws-sdk/lib-storage from 3.56.0 to 3.142.0 ([#1370](https://github.com/rudderlabs/rudder-transformer/issues/1370)) ([94faae5](https://github.com/rudderlabs/rudder-transformer/commit/94faae5fe34ef559b82975d4c53f4bd54b6dbaf1)) + +## [1.2.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.1.0...v1.2.0) (2022-10-18) + + +* release 1.2.0 ([1ce4963](https://github.com/rudderlabs/rudder-transformer/commit/1ce4963a959d38077d5eece1795d7af5b6379314)) + +## [1.1.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.0.0...v1.1.0) (2022-10-17) + + +### Features + +* **integration:** Marketo- attribute to attributes, apiName to name,… ([#1481](https://github.com/rudderlabs/rudder-transformer/issues/1481)) ([e7187d6](https://github.com/rudderlabs/rudder-transformer/commit/e7187d64ef20dd788826eed91a9bd234b778c93a)) + +## [1.0.0](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.5-rc.0...v1.0.0) (2022-10-13) + + +### Features + +* add commit id and version in health endpoint ([#1445](https://github.com/rudderlabs/rudder-transformer/issues/1445)) ([e21dca7](https://github.com/rudderlabs/rudder-transformer/commit/e21dca7106afae7b6150fa8ab85520de321a2ea4)) +* Add library key support ([4aa31af](https://github.com/rudderlabs/rudder-transformer/commit/4aa31afc9828a20132a5b9142279f6d06179039a)) +* Add support for all Apple family OSes ([#925](https://github.com/rudderlabs/rudder-transformer/issues/925)) ([0962527](https://github.com/rudderlabs/rudder-transformer/commit/0962527bbe11927a53dd0c3973d5d39da0b961ce)) +* add Variance as a destination ([c5f84c6](https://github.com/rudderlabs/rudder-transformer/commit/c5f84c6f58b27ee45728f190869e21145a522a62)) +* Added library key support for Amplitude ([5af62c0](https://github.com/rudderlabs/rudder-transformer/commit/5af62c09668eff2ee321dc72eed784c27bb25ee0)) +* Added library key support for Amplitude ([f0cf6b5](https://github.com/rudderlabs/rudder-transformer/commit/f0cf6b526cf3f0dc9ffcc1476df683a351264c04)) +* **Facebook Pixel:** add response parsing support ([#1412](https://github.com/rudderlabs/rudder-transformer/issues/1412)) ([00893c1](https://github.com/rudderlabs/rudder-transformer/commit/00893c1e525473df306648b0946ecb90841c4197)) +* **hs:** Add support for hubspot association events sent from retl ([#1361](https://github.com/rudderlabs/rudder-transformer/issues/1361)) ([b18c93f](https://github.com/rudderlabs/rudder-transformer/commit/b18c93f9865b4ecb0b5025370c544c58102a4df0)) +* integrate cdk v2 ([#1448](https://github.com/rudderlabs/rudder-transformer/issues/1448)) ([d5086c2](https://github.com/rudderlabs/rudder-transformer/commit/d5086c2f0807424ac4e66a6c12e59b07eada5cbe)) +* **integration:** fb custom audience - upgrade v14 to v15 ([#1463](https://github.com/rudderlabs/rudder-transformer/issues/1463)) ([f83a4b6](https://github.com/rudderlabs/rudder-transformer/commit/f83a4b607fdf02746e60c103e8a29850caeca9e3)) +* **integration:** marketo - correct attribute to attributes, fix test cases ([#1446](https://github.com/rudderlabs/rudder-transformer/issues/1446)) ([80b148f](https://github.com/rudderlabs/rudder-transformer/commit/80b148fabb0eb49ac132e196c2aae0e5be3fed6f)) +* **integration:** onboard Facebook Offline Conversions destination ([#1462](https://github.com/rudderlabs/rudder-transformer/issues/1462)) ([9f0413b](https://github.com/rudderlabs/rudder-transformer/commit/9f0413b8285793ced787cd385beed956b675982a)) +* **integration:** Singular- allow empty string by default for instal… ([#1480](https://github.com/rudderlabs/rudder-transformer/issues/1480)) ([c44dec2](https://github.com/rudderlabs/rudder-transformer/commit/c44dec2a0d6952647489754b3bd5d7917d563251)) +* **integration:** Singular- unixtimestamp format fixes and empty url allowed for openuri ([#1476](https://github.com/rudderlabs/rudder-transformer/issues/1476)) ([66c1efd](https://github.com/rudderlabs/rudder-transformer/commit/66c1efd87878485c78a01f82ec8cafd21056f8a6)) +* **integrations:** user deletion support for mp, clevertap, and af destinations ([#1426](https://github.com/rudderlabs/rudder-transformer/issues/1426)) ([b5c5d6f](https://github.com/rudderlabs/rudder-transformer/commit/b5c5d6fbb9023fbf86e370366ab3f6818b4c343b)) +* json support for warehouse destinations ([#1144](https://github.com/rudderlabs/rudder-transformer/issues/1144)) ([a431b08](https://github.com/rudderlabs/rudder-transformer/commit/a431b087e139a26477050f64ee26dbbe473899a9)) +* Klaviyo ecommerce Specs ([#904](https://github.com/rudderlabs/rudder-transformer/issues/904)) ([5dd5329](https://github.com/rudderlabs/rudder-transformer/commit/5dd53296fbe4add44cc4acb330a61d5e4e11ddc9)) +* migrate pinterest to cdk ([#1458](https://github.com/rudderlabs/rudder-transformer/issues/1458)) ([addff70](https://github.com/rudderlabs/rudder-transformer/commit/addff70d77e50b53cb7bb10fa4f4f59523f38f57)) +* **new integration:** google adwords offline conversions onboarding ([#1397](https://github.com/rudderlabs/rudder-transformer/issues/1397)) ([4974b6d](https://github.com/rudderlabs/rudder-transformer/commit/4974b6d40c6cfcae0f455bc18704137d9b921192)) +* **new integration:** june cloud mode destination onboarding ([#1433](https://github.com/rudderlabs/rudder-transformer/issues/1433)) ([458b32c](https://github.com/rudderlabs/rudder-transformer/commit/458b32c2d4e0100a56eb084128ca0aa76e2a006c)) +* **new integration:** onboard Monday cloud mode destination ([#1400](https://github.com/rudderlabs/rudder-transformer/issues/1400)) ([f4e5cc4](https://github.com/rudderlabs/rudder-transformer/commit/f4e5cc4542a4cd729d8e8c77d4973dbe858bb6db)) +* **new integration:** onboarding mailjet ([#1449](https://github.com/rudderlabs/rudder-transformer/issues/1449)) ([81de8a1](https://github.com/rudderlabs/rudder-transformer/commit/81de8a16c6d1cdeb3ac8b27a7d8a0cd51fc2c4af)) +* **new integration:** onboarding mailmodo source ([#1414](https://github.com/rudderlabs/rudder-transformer/issues/1414)) ([e3689c2](https://github.com/rudderlabs/rudder-transformer/commit/e3689c249fd92baa9b3d640c0802f71b78d22650)) +* **serenytics:** onboarding serenytics cloud mode destinations ([#1430](https://github.com/rudderlabs/rudder-transformer/issues/1430)) ([b7e93e3](https://github.com/rudderlabs/rudder-transformer/commit/b7e93e310903e93c39403f1f4b819c14e09d528d)) +* **signl4:** onboarding signl4 cloud mode destination ([#1424](https://github.com/rudderlabs/rudder-transformer/issues/1424)) ([47bd3f8](https://github.com/rudderlabs/rudder-transformer/commit/47bd3f817a4df4d555a8ede656a8b311a4232519)) +* support 'event' alias for 'message' in dynamic config ([#1289](https://github.com/rudderlabs/rudder-transformer/issues/1289)) ([ff6abb8](https://github.com/rudderlabs/rudder-transformer/commit/ff6abb8d4e89af154289b246b33f6e988c0efcbd)) +* **transformation:** update env varibale name ([d904828](https://github.com/rudderlabs/rudder-transformer/commit/d904828e47a94d82a8428cf376dea5eb926d44a4)) + + +### Bug Fixes + +* address async and flow type issues ([#1457](https://github.com/rudderlabs/rudder-transformer/issues/1457)) ([632f74e](https://github.com/rudderlabs/rudder-transformer/commit/632f74e5f1d35d882ed6531f2af84b7d1fba0472)) +* **algolia:** adding check on eventTypeSetting availability ([#1423](https://github.com/rudderlabs/rudder-transformer/issues/1423)) ([d8572ff](https://github.com/rudderlabs/rudder-transformer/commit/d8572ff4949513573d5f7367fa0dc0811086e61f)) +* **appsflyer:** event name casing in track payloads ([#1390](https://github.com/rudderlabs/rudder-transformer/issues/1390)) ([3b22f18](https://github.com/rudderlabs/rudder-transformer/commit/3b22f1840acaf57b110ff67a9805be6d2bf7b062)) +* **braze:** adding dynamic support for eu data center ([#1236](https://github.com/rudderlabs/rudder-transformer/issues/1236)) ([90bc03f](https://github.com/rudderlabs/rudder-transformer/commit/90bc03f00d8ce48b8e93f28c06863c80c353116f)) +* docker vulnerabilities ([#1435](https://github.com/rudderlabs/rudder-transformer/issues/1435)) ([27084e2](https://github.com/rudderlabs/rudder-transformer/commit/27084e2c483bec679c9988a998b087a558bc5826)) +* facebook pixel proxy tests ([#1444](https://github.com/rudderlabs/rudder-transformer/issues/1444)) ([f632583](https://github.com/rudderlabs/rudder-transformer/commit/f6325833244affaffad8aa311466c1596ef01cdd)) +* Fix test case ([ac2342d](https://github.com/rudderlabs/rudder-transformer/commit/ac2342d43feabe92c7ed23495e02d9f77fb5fccd)) +* **ga:** Do not fallback to userId for cid when disableMd5 is true, keep it undefined ([ad72d59](https://github.com/rudderlabs/rudder-transformer/commit/ad72d5962c19b00ae9dbbb3cec0cc6b223c7683d)) +* **hs:** logic for custom objects support of hs with rETL ([#1222](https://github.com/rudderlabs/rudder-transformer/issues/1222)) ([5353bcc](https://github.com/rudderlabs/rudder-transformer/commit/5353bcc33f7b077aa5240ac653c747aa6f3fd4b6)) +* kafka schemaId ([#1283](https://github.com/rudderlabs/rudder-transformer/issues/1283)) ([214d5d5](https://github.com/rudderlabs/rudder-transformer/commit/214d5d53edb20b6b994d3b01bee8dddcc4fe2128)) +* **marketo:** unhandled exception status-code fix ([#1432](https://github.com/rudderlabs/rudder-transformer/issues/1432)) ([6cc4868](https://github.com/rudderlabs/rudder-transformer/commit/6cc48688c82ba501b296c1171c0327cc91e33e4d)) +* Remove event type guard that prevent traits from copying to user props ([e276ade](https://github.com/rudderlabs/rudder-transformer/commit/e276ade3c57c4556399a5be8b09f15a1877c5a2b)) +* **signl4:** correcting timestamp format ([#1431](https://github.com/rudderlabs/rudder-transformer/issues/1431)) ([18632e6](https://github.com/rudderlabs/rudder-transformer/commit/18632e632330db753eabe1fe4d90f22703979c1b)) +* **trackingplan:** adding message type optional check in tp source config ([60f0658](https://github.com/rudderlabs/rudder-transformer/commit/60f0658a5b7701d8d545ebfb838bfa19cc68c6e2)) +* upgrade dotenv from 8.2.0 to 8.6.0 ([#1389](https://github.com/rudderlabs/rudder-transformer/issues/1389)) ([1c3d001](https://github.com/rudderlabs/rudder-transformer/commit/1c3d001f8c35d0885497faa87c8ce728d6403efe)) +* upgrade koa from 2.13.0 to 2.13.4 ([#1398](https://github.com/rudderlabs/rudder-transformer/issues/1398)) ([213e30e](https://github.com/rudderlabs/rudder-transformer/commit/213e30e4c04481ee4aa9d59c346ed959acfd5bb5)) +* upgrade ua-parser-js from 0.7.24 to 0.8.1 ([#1378](https://github.com/rudderlabs/rudder-transformer/issues/1378)) ([a50899b](https://github.com/rudderlabs/rudder-transformer/commit/a50899b6780d3f640c260830c74f28cd4b1d9b5d)) +* vulnerabilities in dependencies ([#1436](https://github.com/rudderlabs/rudder-transformer/issues/1436)) ([a26e7f5](https://github.com/rudderlabs/rudder-transformer/commit/a26e7f54d5aaafa48c20826cd5dd5f3f8f30e39f)) + +### [0.1.5-rc.0](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.4...v0.1.5-rc.0) (2020-03-16) + +### [0.1.4](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.3...v0.1.4) (2020-03-02) + +### [0.1.3](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.2...v0.1.3) (2020-02-11) + +### [0.1.2](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.1...v0.1.2) (2020-02-07) + + +### Bug Fixes + +* salesforce tests ([86500b8](https://github.com/rudderlabs/rudder-transformer/commit/86500b832610f047666a4fe4799a843c5a1fb6e9)) + +### [0.1.1](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.0...v0.1.1) (2019-11-05) + +## 0.1.0 (2019-10-24) + ## [1.19.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.18.0...v1.19.0) (2023-03-23) diff --git a/package-lock.json b/package-lock.json index 7357868b3d..74994b33e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.19.0", + "version": "1.20.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 658e4b6488..409fdf8ac3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.19.0", + "version": "1.20.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 34be63cc03f77d2968be1826fd5a27ac8f7cb566 Mon Sep 17 00:00:00 2001 From: saikumarrs Date: Tue, 28 Mar 2023 15:59:27 +0530 Subject: [PATCH 16/17] chore: add github token to workflow jobs --- .github/workflows/prepare-for-prod-deploy.yml | 2 ++ .github/workflows/prepare-for-prod-rollback.yml | 2 ++ .github/workflows/prepare-for-staging-deploy.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/prepare-for-prod-deploy.yml b/.github/workflows/prepare-for-prod-deploy.yml index 217b7b0ceb..1175f4635c 100644 --- a/.github/workflows/prepare-for-prod-deploy.yml +++ b/.github/workflows/prepare-for-prod-deploy.yml @@ -206,6 +206,8 @@ jobs: echo "User Transformer: $UT_TAG_NAME" - name: Update Helm Charts and Raise Pull Request + env: + GITHUB_TOKEN: ${{ secrets.PAT }} run: | git clone https://${{secrets.PAT}}@github.com/rudderlabs/rudder-devops.git cd rudder-devops diff --git a/.github/workflows/prepare-for-prod-rollback.yml b/.github/workflows/prepare-for-prod-rollback.yml index 07f83fd346..2b2a861d8e 100644 --- a/.github/workflows/prepare-for-prod-rollback.yml +++ b/.github/workflows/prepare-for-prod-rollback.yml @@ -28,6 +28,8 @@ jobs: git config --global user.email "noreply@github.com" - name: Update Helm Charts and Raise Pull Request + env: + GITHUB_TOKEN: ${{ secrets.PAT }} run: | git clone https://${{secrets.PAT}}@github.com/rudderlabs/rudder-devops.git cd rudder-devops diff --git a/.github/workflows/prepare-for-staging-deploy.yml b/.github/workflows/prepare-for-staging-deploy.yml index 44b9334b1d..0f8fcc6788 100644 --- a/.github/workflows/prepare-for-staging-deploy.yml +++ b/.github/workflows/prepare-for-staging-deploy.yml @@ -199,6 +199,8 @@ jobs: echo "User Transformer: $UT_TAG_NAME" - name: Update Helm Charts and Raise Pull Request + env: + GITHUB_TOKEN: ${{ secrets.PAT }} run: | git clone https://${{secrets.PAT}}@github.com/rudderlabs/rudder-devops.git cd rudder-devops From cca42559fdccd3d2541432d0ae0b8c987ac4a26a Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 28 Mar 2023 10:31:20 +0000 Subject: [PATCH 17/17] chore(release): 1.20.0 --- CHANGELOG.md | 471 ++++++++++++++++++++++++++++++++++++++++++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 473 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 001023c28b..e0020e4a8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,477 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.20.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.19.0...v1.20.0) (2023-03-28) + + +### Bug Fixes + +* **gainsignt_px:** undefined attributes issue ([#2010](https://github.com/rudderlabs/rudder-transformer/issues/2010)) ([bf56359](https://github.com/rudderlabs/rudder-transformer/commit/bf5635942a88a3afc25506ba6591bf6b844624f3)) +* **monday:** axios call empty response issue ([#2001](https://github.com/rudderlabs/rudder-transformer/issues/2001)) ([196294f](https://github.com/rudderlabs/rudder-transformer/commit/196294f70bc967efea70aef084268db9c567417a)) +* **rockerbox:** make email as non-required field ([#1995](https://github.com/rudderlabs/rudder-transformer/issues/1995)) ([2f7ebff](https://github.com/rudderlabs/rudder-transformer/commit/2f7ebff62c8934165c1271a7c019c2b0b5b2a4b3)) +* **snapchat_conversion:** price calculation ([#1988](https://github.com/rudderlabs/rudder-transformer/issues/1988)) ([8240224](https://github.com/rudderlabs/rudder-transformer/commit/82402242a1ffe9ccc75671023cff1ebbbcb390e6)) +* **test-cases:** fix test cases to use template like secret keys ([#1973](https://github.com/rudderlabs/rudder-transformer/issues/1973)) ([f709d1f](https://github.com/rudderlabs/rudder-transformer/commit/f709d1fb9d1d22e306fc600872dd2b702436f961)) +* undefined columnToPropertyMapping config issue ([#1998](https://github.com/rudderlabs/rudder-transformer/issues/1998)) ([ef7a351](https://github.com/rudderlabs/rudder-transformer/commit/ef7a3511e26e652caa54fb600db01ebe6bd0cc3d)) + +## [1.18.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.17.0...v1.18.0) (2023-03-23) + + +### Features + +* **indicative:** parse user agent info ([#1971](https://github.com/rudderlabs/rudder-transformer/issues/1971)) ([1328b5a](https://github.com/rudderlabs/rudder-transformer/commit/1328b5ac38f9d21def89bacbbca4891dbd6e4450)) + + +### Bug Fixes + +* changelog ([d8d81a2](https://github.com/rudderlabs/rudder-transformer/commit/d8d81a2d4ad428be2936932f22e63fd9007d9799)) +* ga4 user_properties structure ([#1982](https://github.com/rudderlabs/rudder-transformer/issues/1982)) ([3d81202](https://github.com/rudderlabs/rudder-transformer/commit/3d81202fcd88b8033504e9f5aa5d095e6863dc76)) +* tik-tok ads offline events email array issue ([#1979](https://github.com/rudderlabs/rudder-transformer/issues/1979)) ([3c7f4ac](https://github.com/rudderlabs/rudder-transformer/commit/3c7f4ac60ec564198f0bf0524a0780dfc581140a)) + +## [1.17.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.16.2...v1.17.0) (2023-03-21) + + +### Features + +* add default action source ([#1957](https://github.com/rudderlabs/rudder-transformer/issues/1957)) ([043cae2](https://github.com/rudderlabs/rudder-transformer/commit/043cae2802c81e7a1d25d266eaeca06a3000aeaa)) +* **braze:** refactor code custom attribute operations ([#1943](https://github.com/rudderlabs/rudder-transformer/issues/1943)) ([9c91bfc](https://github.com/rudderlabs/rudder-transformer/commit/9c91bfc4f7eeeaa1e97174a2c96c1902c6817c6a)) +* **mix-panel:** add support for multiple group key value ([#1773](https://github.com/rudderlabs/rudder-transformer/issues/1773)) ([e7a8d48](https://github.com/rudderlabs/rudder-transformer/commit/e7a8d489cb3fda2718e106730d69506e6f56c9f3)) + + +### Bug Fixes + +* added products array check for iterable destination ([#1949](https://github.com/rudderlabs/rudder-transformer/issues/1949)) ([87db73e](https://github.com/rudderlabs/rudder-transformer/commit/87db73e062dcac54fdb1906659a90d2df0f13648)) +* **fb pixel:** ecomm ([#1932](https://github.com/rudderlabs/rudder-transformer/issues/1932)) ([8d5e07a](https://github.com/rudderlabs/rudder-transformer/commit/8d5e07a2862ee757ecd3523b36e150f29a134b0f)), closes [#1964](https://github.com/rudderlabs/rudder-transformer/issues/1964) +* **firehose:** handle undefined message type ([#1942](https://github.com/rudderlabs/rudder-transformer/issues/1942)) ([d3ea664](https://github.com/rudderlabs/rudder-transformer/commit/d3ea664c182cc1702ab0298cf79ecad2aae7ce6b)) +* **integration:** pinterest content_id field dropped when having null value to match with cdkv2 ([#1950](https://github.com/rudderlabs/rudder-transformer/issues/1950)) ([09995e9](https://github.com/rudderlabs/rudder-transformer/commit/09995e9cc9931827d8be5b1ede59be9ce77c0cd4)) + +### [1.16.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.16.1...v1.16.2) (2023-03-16) + + +### Bug Fixes + +* add optional chaining for phone in tiktok_ads_offline_events ([37dc013](https://github.com/rudderlabs/rudder-transformer/commit/37dc0139a28fab113eac4b337f3475ac2ea29262)) + +### [1.16.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.16.0...v1.16.1) (2023-03-15) + + +### Bug Fixes + +* **fb pixel:** add default action source ([#1946](https://github.com/rudderlabs/rudder-transformer/issues/1946)) ([2e03f4d](https://github.com/rudderlabs/rudder-transformer/commit/2e03f4dcfbfb1c6d35aecf950e0f1e3828ceaaef)) + +## [1.16.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.15.1...v1.16.0) (2023-03-14) + + +### Features + +* **facebook_app_events:** update api version ([#1921](https://github.com/rudderlabs/rudder-transformer/issues/1921)) ([793ebfb](https://github.com/rudderlabs/rudder-transformer/commit/793ebfb39e8667882cd40ff4add2ea6b5dfb9564)) + + +### Bug Fixes + +* changelog ([ef13dd8](https://github.com/rudderlabs/rudder-transformer/commit/ef13dd8bef572c80ddb8511abb7d5be23cc5dd81)) +* create pull-request jobs in workflows ([36b2677](https://github.com/rudderlabs/rudder-transformer/commit/36b2677209b9b34a33375381dd74a74988e11dd2)) +* syntax issue in workflow ([09d7659](https://github.com/rudderlabs/rudder-transformer/commit/09d765912ef07552729c1193e28c1bd149f68401)) +* syntax issue in workflow ([c84ef6e](https://github.com/rudderlabs/rudder-transformer/commit/c84ef6e1d1b4feefb208e10c316c4f5bd647efa3)) +* **util:** getDestinationExternalIDObjectForRetl funciton ([#1919](https://github.com/rudderlabs/rudder-transformer/issues/1919)) ([235243d](https://github.com/rudderlabs/rudder-transformer/commit/235243de9afb1b52b56b7db9170e5eb3345b1de6)) + +### [1.15.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.15.0...v1.15.1) (2023-03-13) + + +### Features + +* mautic: support self hosted instance ([#1909](https://github.com/rudderlabs/rudder-transformer/issues/1909)) ([7c0a724](https://github.com/rudderlabs/rudder-transformer/commit/7c0a7240d9fcef45e4066a4a7dee8234c7e782d3)) +* moenagae alias call support ([#1930](https://github.com/rudderlabs/rudder-transformer/issues/1930)) ([194bf8e](https://github.com/rudderlabs/rudder-transformer/commit/194bf8e3e2f47ca63ee273c9255468b41bc6ffcf)) +* transformation secrets ([#1912](https://github.com/rudderlabs/rudder-transformer/issues/1912)) ([a0b488a](https://github.com/rudderlabs/rudder-transformer/commit/a0b488a4514c9c868f39d000a4ae40aa3f7b5de6)) + + +### Bug Fixes + +* client_id mapping for ga4 ([#1904](https://github.com/rudderlabs/rudder-transformer/issues/1904)) ([9aaf908](https://github.com/rudderlabs/rudder-transformer/commit/9aaf90864bd489fb463a56f62a673ead2bb83fe5)) +* **destination:** add channel as platform ([#1906](https://github.com/rudderlabs/rudder-transformer/issues/1906)) ([4cfbbd0](https://github.com/rudderlabs/rudder-transformer/commit/4cfbbd02530d1cc02b1b04ab5c721f1b642d41bc)) +* remove ga4 identify call support for cloud mode and treat identify call event as track events (login, sign_up and generate_lead) ([#1903](https://github.com/rudderlabs/rudder-transformer/issues/1903)) ([fa8fd74](https://github.com/rudderlabs/rudder-transformer/commit/fa8fd74f14d0ac6707f83ed81897a541ae6191e6)) +* **slack:** handlebars error handling ([#1910](https://github.com/rudderlabs/rudder-transformer/issues/1910)) ([0c6bc2e](https://github.com/rudderlabs/rudder-transformer/commit/0c6bc2edb17986a1d99365a4468a67bd65e09e47)) + +## [1.15.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.14.0...v1.15.0) (2023-03-07) + + +### Features + +* log process memory errors ([#1920](https://github.com/rudderlabs/rudder-transformer/issues/1920)) ([076d7b5](https://github.com/rudderlabs/rudder-transformer/commit/076d7b58831b035102a0544985d9a1ff67ef1791)) +* revamp github actions for release management ([#1898](https://github.com/rudderlabs/rudder-transformer/issues/1898)) ([8847f58](https://github.com/rudderlabs/rudder-transformer/commit/8847f589dc2248d4210c82326022d9f459b2f888)) +* suppress errors from unwanted modules to bugsnag ([#1907](https://github.com/rudderlabs/rudder-transformer/issues/1907)) ([9e6a1c0](https://github.com/rudderlabs/rudder-transformer/commit/9e6a1c0bd3dfa79e2a470eefad7d4c9b34c842cb)) + + +### Bug Fixes + +* correcting method name for prepareProxy ([#1923](https://github.com/rudderlabs/rudder-transformer/issues/1923)) ([cfed522](https://github.com/rudderlabs/rudder-transformer/commit/cfed5228be21bd8d7f5a2ea8bc4b97c973a112be)) +* **fb pixel:** zp mapping and external_id ([#1908](https://github.com/rudderlabs/rudder-transformer/issues/1908)) ([c8665d4](https://github.com/rudderlabs/rudder-transformer/commit/c8665d4475fe06d45d3b4fdd26b46247be0188f6)) +* **ga4:** product array issue ([#1845](https://github.com/rudderlabs/rudder-transformer/issues/1845)) ([3d24e93](https://github.com/rudderlabs/rudder-transformer/commit/3d24e93a6c00c3d2bd425012e4b315997b5e05b6)) +* updated batching logic for pinterest_tag ([#1878](https://github.com/rudderlabs/rudder-transformer/issues/1878)) ([e38d772](https://github.com/rudderlabs/rudder-transformer/commit/e38d7721451d4c43d8c1fe67d28566302dced440)) + +## [1.14.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.13.0...v1.14.0) (2023-02-28) + + +### Features + +* added customerio group call support ([#1869](https://github.com/rudderlabs/rudder-transformer/issues/1869)) ([5e692ea](https://github.com/rudderlabs/rudder-transformer/commit/5e692ead3c43819edd47f8cf244a3f78ce510359)) +* added new destination vitally ([#1892](https://github.com/rudderlabs/rudder-transformer/issues/1892)) ([8638ee7](https://github.com/rudderlabs/rudder-transformer/commit/8638ee7765b4e3ecf215ec90056d03cffb42f5f6)) +* include latest image of transformer ([#1879](https://github.com/rudderlabs/rudder-transformer/issues/1879)) ([b179fef](https://github.com/rudderlabs/rudder-transformer/commit/b179fef031fe06aa8d4e3b258c4740b45f4387bb)) +* onboard courier destination ([#1844](https://github.com/rudderlabs/rudder-transformer/issues/1844)) ([#1883](https://github.com/rudderlabs/rudder-transformer/issues/1883)) ([18bcdf8](https://github.com/rudderlabs/rudder-transformer/commit/18bcdf8b4b1f0b63cbe3f839df38f4b6b6875e98)) +* python libraries ([#1855](https://github.com/rudderlabs/rudder-transformer/issues/1855)) ([01f3df5](https://github.com/rudderlabs/rudder-transformer/commit/01f3df5ad5868a3604715c26f7ea9d8dea82860b)) +* **transformation:** adding rudder libraries support ([#1817](https://github.com/rudderlabs/rudder-transformer/issues/1817)) ([1c91d22](https://github.com/rudderlabs/rudder-transformer/commit/1c91d22795b142a90011e35cf85d1a4ac8eaa545)) + + +### Bug Fixes + +* **active-campaign:** add check before iterating stored event array ([#1902](https://github.com/rudderlabs/rudder-transformer/issues/1902)) ([9666e85](https://github.com/rudderlabs/rudder-transformer/commit/9666e851751101efc99f1d48018a9ae1ed6a9b8e)) +* **integration:** Algolia in CDK v2 now errors out for non string event names ([#1867](https://github.com/rudderlabs/rudder-transformer/issues/1867)) ([5be8891](https://github.com/rudderlabs/rudder-transformer/commit/5be88917270a9fb1c28fdd7f547e9a017aacf56d)) +* logger import ([#1874](https://github.com/rudderlabs/rudder-transformer/issues/1874)) ([7ff1b4a](https://github.com/rudderlabs/rudder-transformer/commit/7ff1b4a11fe530de45dacce1da7bf0d58d4b38fd)) +* package.json & package-lock.json to reduce vulnerabilities ([#1885](https://github.com/rudderlabs/rudder-transformer/issues/1885)) ([11b4a4b](https://github.com/rudderlabs/rudder-transformer/commit/11b4a4b523b00dffb0c9d0017a6ed3279fc596d2)) + +## [1.13.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.12.0...v1.13.0) (2023-02-15) + + +### Features + +* **destination:** onboard criteo audience ([#1792](https://github.com/rudderlabs/rudder-transformer/issues/1792)) ([5904c75](https://github.com/rudderlabs/rudder-transformer/commit/5904c75042c7cb34320fc43bcd3b54bfe5ce97fc)) +* **integration:** rockerbox - add support for custom properties mapping ([#1815](https://github.com/rudderlabs/rudder-transformer/issues/1815)) ([8ba50d2](https://github.com/rudderlabs/rudder-transformer/commit/8ba50d2249d5bd5db84ff9c37323e618b5942ec5)) +* **integration:** rockerbox - allow all properties to be passed over to rockerbox ([#1838](https://github.com/rudderlabs/rudder-transformer/issues/1838)) ([fb64039](https://github.com/rudderlabs/rudder-transformer/commit/fb6403992c76077398a9f8b5ac4cbe9fb28fd073)) +* **integrations:** onboarding webhook to CDK v2 ([#1783](https://github.com/rudderlabs/rudder-transformer/issues/1783)) ([22d583a](https://github.com/rudderlabs/rudder-transformer/commit/22d583ae2c239f532629a0d0db055658e2eda65d)) +* **mailchimp:** add support for track call ([#1814](https://github.com/rudderlabs/rudder-transformer/issues/1814)) ([94c10ba](https://github.com/rudderlabs/rudder-transformer/commit/94c10ba971a54f5f9894c0107a96a121068994cf)) +* moengage source ([#1846](https://github.com/rudderlabs/rudder-transformer/issues/1846)) ([123a2d9](https://github.com/rudderlabs/rudder-transformer/commit/123a2d9f57fd4f0c76f939b8d56edbbbc995ab00)) +* **new integration:** onboard optimizely fullstack cloud mode ([#1805](https://github.com/rudderlabs/rudder-transformer/issues/1805)) ([5373185](https://github.com/rudderlabs/rudder-transformer/commit/537318589110672ad6f453510a19e7fde3bfd2bb)) +* shopify - add cart token, order token and checkout token in the Context object ([#1847](https://github.com/rudderlabs/rudder-transformer/issues/1847)) ([88e8fe0](https://github.com/rudderlabs/rudder-transformer/commit/88e8fe0a14766532739aaf800cebb61b0ef6175d)) +* **source:** initial commit for identity stitching in shopify ([#1810](https://github.com/rudderlabs/rudder-transformer/issues/1810)) ([7b662df](https://github.com/rudderlabs/rudder-transformer/commit/7b662dfbf192f08f7bd2baf8dbd9dc5f12a8f23e)) +* **transformation:** libraries import extractor ([#1851](https://github.com/rudderlabs/rudder-transformer/issues/1851)) ([462bba9](https://github.com/rudderlabs/rudder-transformer/commit/462bba9e9ed49f0a76a8bb0e4d0b444e324f208c)) +* userId to be converted to string for Router ([#1822](https://github.com/rudderlabs/rudder-transformer/issues/1822)) ([7ec03c6](https://github.com/rudderlabs/rudder-transformer/commit/7ec03c66632513da4a311c3e19abcb3accf3437e)) + + +### Bug Fixes + +* **active_campaign:** handle bad url string while formatting with domainUrlV2 ([#1816](https://github.com/rudderlabs/rudder-transformer/issues/1816)) ([7fd15be](https://github.com/rudderlabs/rudder-transformer/commit/7fd15be8633c9cc6fcb4448f73042d641f81356c)) +* amplitude check for actionKey before accessing it ([#1833](https://github.com/rudderlabs/rudder-transformer/issues/1833)) ([5071582](https://github.com/rudderlabs/rudder-transformer/commit/50715827981e70e814c427cfa0359de16fb3c554)) +* bugsnag errors ([#1863](https://github.com/rudderlabs/rudder-transformer/issues/1863)) ([ae627d3](https://github.com/rudderlabs/rudder-transformer/commit/ae627d3adc48aa5ab390461693005d8957757430)) +* **CDK v2:** editing CDK v2 for pinterest tag for num_items field ([#1840](https://github.com/rudderlabs/rudder-transformer/issues/1840)) ([b1265c0](https://github.com/rudderlabs/rudder-transformer/commit/b1265c0949f8352881dfb13d5d31ba712e26363b)) +* codebuild issue ([16eab14](https://github.com/rudderlabs/rudder-transformer/commit/16eab14e627184d04b1a7dbb1fdd3388ff065c85)) +* criteo_audience: stringification of destination error ([#1839](https://github.com/rudderlabs/rudder-transformer/issues/1839)) ([fe17453](https://github.com/rudderlabs/rudder-transformer/commit/fe17453db7bef03916feb271bae1c25b613829da)) +* ga4 userId issue ([#1857](https://github.com/rudderlabs/rudder-transformer/issues/1857)) ([cd30c47](https://github.com/rudderlabs/rudder-transformer/commit/cd30c47f292db71a8961bef6b38a3478316e00b9)) +* **integration:** Pinterest conversion in CDK v2 returns correct num_items for single product array ([#1861](https://github.com/rudderlabs/rudder-transformer/issues/1861)) ([8c8c316](https://github.com/rudderlabs/rudder-transformer/commit/8c8c316b9ba795111f716c314cedb189e968260e)) +* **integrations:** salesforce update error message and error response handler ([#1799](https://github.com/rudderlabs/rudder-transformer/issues/1799)) ([b473c23](https://github.com/rudderlabs/rudder-transformer/commit/b473c2389909e1f06d8d79b279e66b86b414c908)) +* **klaviyo:** skip profile lookup call for rETL events ([#1856](https://github.com/rudderlabs/rudder-transformer/issues/1856)) ([9e6b5e4](https://github.com/rudderlabs/rudder-transformer/commit/9e6b5e4c145d64341e043014baed4e344fecc74c)) +* order_token updated in shopify ([#1865](https://github.com/rudderlabs/rudder-transformer/issues/1865)) ([7fc608e](https://github.com/rudderlabs/rudder-transformer/commit/7fc608e0f1c264c4494b987e0102ff48aa51e4fe)) +* package.json & package-lock.json to reduce vulnerabilities ([#1824](https://github.com/rudderlabs/rudder-transformer/issues/1824)) ([779edb2](https://github.com/rudderlabs/rudder-transformer/commit/779edb290b04694b126739708a30be024a53fe33)) +* refactor subscribe user flow to stop subscribing user without consent ([#1841](https://github.com/rudderlabs/rudder-transformer/issues/1841)) ([fe231c2](https://github.com/rudderlabs/rudder-transformer/commit/fe231c280a1250413f4b665820e4da303e05259a)) +* set context as metadata in bugsnag error notification ([#1778](https://github.com/rudderlabs/rudder-transformer/issues/1778)) ([55c3097](https://github.com/rudderlabs/rudder-transformer/commit/55c309716877b303943c18537352347b83d72c2f)) +* **singular:** undefined properties object for track ([#1808](https://github.com/rudderlabs/rudder-transformer/issues/1808)) ([f53bec1](https://github.com/rudderlabs/rudder-transformer/commit/f53bec192825aedfcf320197c386a449f9677816)) +* **transformation:** release isolate in case of error while creating ([#1850](https://github.com/rudderlabs/rudder-transformer/issues/1850)) ([ea51e24](https://github.com/rudderlabs/rudder-transformer/commit/ea51e24a893daa18e9b30463e9300ce029230a00)) +* typecast userId, anonymousId to string ([2150033](https://github.com/rudderlabs/rudder-transformer/commit/215003381557c583bd8889cef121ebbba56785c2)) +* undefined check added for isHybridModeEnabled function ([#1812](https://github.com/rudderlabs/rudder-transformer/issues/1812)) ([a49be9e](https://github.com/rudderlabs/rudder-transformer/commit/a49be9e77b6ba6bc1ef5087208ddc1a135e4301e)) +* update check for props value ([343e946](https://github.com/rudderlabs/rudder-transformer/commit/343e946ed4adc89ad8c17d945b69c2f3f3be7506)) + +## [1.12.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.11.0...v1.12.0) (2023-01-19) + + +### Features + +* **BQStream:** add batch support ([#1377](https://github.com/rudderlabs/rudder-transformer/issues/1377)) ([14c7531](https://github.com/rudderlabs/rudder-transformer/commit/14c7531635b5348ef518dcad483f25d4adeddddd)) +* **destination:** onboard lemnisk integration ([#1787](https://github.com/rudderlabs/rudder-transformer/issues/1787)) ([3c6b9e1](https://github.com/rudderlabs/rudder-transformer/commit/3c6b9e148dff559357fb61de49602f9d1689d699)), closes [#1728](https://github.com/rudderlabs/rudder-transformer/issues/1728) +* ga4 page calls are discarded if hybrid mode is enabled ([#1794](https://github.com/rudderlabs/rudder-transformer/issues/1794)) ([ca12d07](https://github.com/rudderlabs/rudder-transformer/commit/ca12d078e3f936c4c0fd4449259d1a55ba0a4424)) +* sessionId consistency across destinations ([#1789](https://github.com/rudderlabs/rudder-transformer/issues/1789)) ([ff68a44](https://github.com/rudderlabs/rudder-transformer/commit/ff68a4488e50f4a44c950395d0f9e5dc514db1df)) + + +### Bug Fixes + +* add missing implementation stat tag for router transformation ([#1779](https://github.com/rudderlabs/rudder-transformer/issues/1779)) ([5ebde56](https://github.com/rudderlabs/rudder-transformer/commit/5ebde56ea644f81d1a17fa4d85697821879fa191)) +* add sources as valid channel to cdkv1 ([bd74ef7](https://github.com/rudderlabs/rudder-transformer/commit/bd74ef7eff712d4db75856a205ddaa473d80ddd9)) +* add sources as valid channel to cdkv1 ([#1803](https://github.com/rudderlabs/rudder-transformer/issues/1803)) ([e3057db](https://github.com/rudderlabs/rudder-transformer/commit/e3057dbff9d8daa1f64b5cd6de6b57ab97c016ee)) +* add validation for event name as string ([#1768](https://github.com/rudderlabs/rudder-transformer/issues/1768)) ([c48ec5e](https://github.com/rudderlabs/rudder-transformer/commit/c48ec5e3cd6590e5c766bc3afac9eb5c368b85f0)) +* array type check for externalIdArray ([#1785](https://github.com/rudderlabs/rudder-transformer/issues/1785)) ([dec3bb6](https://github.com/rudderlabs/rudder-transformer/commit/dec3bb6661b6737203964b2c4b5e3d2bd7421433)) +* bugsnag error fixes for salesforce, garl, gaoc ([#1776](https://github.com/rudderlabs/rudder-transformer/issues/1776)) ([553c5de](https://github.com/rudderlabs/rudder-transformer/commit/553c5defc098e01e74d98606cf59baa9008b814d)) +* change destination configuration errors to abortable ([#1790](https://github.com/rudderlabs/rudder-transformer/issues/1790)) ([fb1281d](https://github.com/rudderlabs/rudder-transformer/commit/fb1281d2bc090bda34c7420c10946504e83756ef)) +* destination transformation change from processor to router ([#1754](https://github.com/rudderlabs/rudder-transformer/issues/1754)) ([674d476](https://github.com/rudderlabs/rudder-transformer/commit/674d476bd1e55194456798c7a83bd27a62b868e3)) +* **integration:** GAOC - fix timestamp format, allow calls without custom variables ([#1796](https://github.com/rudderlabs/rudder-transformer/issues/1796)) ([7c450ee](https://github.com/rudderlabs/rudder-transformer/commit/7c450ee78db2052bbb70866cbc6bd98cfd9c32b4)) +* iterable alias call is separated from identify batching ([#1777](https://github.com/rudderlabs/rudder-transformer/issues/1777)) ([3676c45](https://github.com/rudderlabs/rudder-transformer/commit/3676c4591e8b241ad6a7873954bc8f07e7a69584)) +* products array mapping and rename impact_radius to impact ([#1797](https://github.com/rudderlabs/rudder-transformer/issues/1797)) ([f812f0d](https://github.com/rudderlabs/rudder-transformer/commit/f812f0d3fbff6d6bfdd3670c59cf8ea01744f80f)) +* proper error throw in gaec ([#1767](https://github.com/rudderlabs/rudder-transformer/issues/1767)) ([a2ed19d](https://github.com/rudderlabs/rudder-transformer/commit/a2ed19dc0b5eb6bbaec7dd88b25762553b1aae79)) +* remove regex validation for phone_number ([#1771](https://github.com/rudderlabs/rudder-transformer/issues/1771)) ([6c01642](https://github.com/rudderlabs/rudder-transformer/commit/6c016428b496cea7e3771d3cf5ab4dfbbd7e382b)) +* revert salesforce fix for undefined access_token ([#1780](https://github.com/rudderlabs/rudder-transformer/issues/1780)) ([d917b2e](https://github.com/rudderlabs/rudder-transformer/commit/d917b2e61afbdfb697e5d6066aa6e34fd9f71427)) +* send dest info for failed events ([#1770](https://github.com/rudderlabs/rudder-transformer/issues/1770)) ([9f108c0](https://github.com/rudderlabs/rudder-transformer/commit/9f108c0b6a0978b7ca71d1b1bbeaafbba8dce2ee)) + +## [1.11.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.10.0...v1.11.0) (2023-01-10) + + +### Features + +* [impact radius] onboard impact radius cloud mode destination ([#1730](https://github.com/rudderlabs/rudder-transformer/issues/1730)) ([8d55c24](https://github.com/rudderlabs/rudder-transformer/commit/8d55c24930e45ddb0a38d1e2ca935b11d8fac665)), closes [#1764](https://github.com/rudderlabs/rudder-transformer/issues/1764) +* appcenter updated to support test events ([#1741](https://github.com/rudderlabs/rudder-transformer/issues/1741)) ([00648da](https://github.com/rudderlabs/rudder-transformer/commit/00648da21286cf4170e395e601dcd4b7d199957f)) +* **braze:** nested array ops ([#1753](https://github.com/rudderlabs/rudder-transformer/issues/1753)) ([0658a5f](https://github.com/rudderlabs/rudder-transformer/commit/0658a5f323a7b076a88fcb987f2ac25ea803552f)) +* clientId support added for ga4 hybrid mode ([#1759](https://github.com/rudderlabs/rudder-transformer/issues/1759)) ([04638cb](https://github.com/rudderlabs/rudder-transformer/commit/04638cb1550c05435a12d8ed481fd55c13e667da)) +* **destination:** onboard discord ([#1725](https://github.com/rudderlabs/rudder-transformer/issues/1725)) ([4f6323b](https://github.com/rudderlabs/rudder-transformer/commit/4f6323bcb5e13fb70fd0fd879c64917d46120a34)), closes [#1647](https://github.com/rudderlabs/rudder-transformer/issues/1647) [#1644](https://github.com/rudderlabs/rudder-transformer/issues/1644) [#1656](https://github.com/rudderlabs/rudder-transformer/issues/1656) [#1658](https://github.com/rudderlabs/rudder-transformer/issues/1658) [#1665](https://github.com/rudderlabs/rudder-transformer/issues/1665) [#1649](https://github.com/rudderlabs/rudder-transformer/issues/1649) [#1652](https://github.com/rudderlabs/rudder-transformer/issues/1652) [#1651](https://github.com/rudderlabs/rudder-transformer/issues/1651) [#1669](https://github.com/rudderlabs/rudder-transformer/issues/1669) [#1673](https://github.com/rudderlabs/rudder-transformer/issues/1673) [#1638](https://github.com/rudderlabs/rudder-transformer/issues/1638) [#1641](https://github.com/rudderlabs/rudder-transformer/issues/1641) [#1653](https://github.com/rudderlabs/rudder-transformer/issues/1653) [#1661](https://github.com/rudderlabs/rudder-transformer/issues/1661) [#1666](https://github.com/rudderlabs/rudder-transformer/issues/1666) [#1667](https://github.com/rudderlabs/rudder-transformer/issues/1667) [#1671](https://github.com/rudderlabs/rudder-transformer/issues/1671) [#1659](https://github.com/rudderlabs/rudder-transformer/issues/1659) [#1654](https://github.com/rudderlabs/rudder-transformer/issues/1654) [#1655](https://github.com/rudderlabs/rudder-transformer/issues/1655) [#1670](https://github.com/rudderlabs/rudder-transformer/issues/1670) [#1657](https://github.com/rudderlabs/rudder-transformer/issues/1657) [#1672](https://github.com/rudderlabs/rudder-transformer/issues/1672) [#1642](https://github.com/rudderlabs/rudder-transformer/issues/1642) [#1645](https://github.com/rudderlabs/rudder-transformer/issues/1645) [#1650](https://github.com/rudderlabs/rudder-transformer/issues/1650) [#1639](https://github.com/rudderlabs/rudder-transformer/issues/1639) [#1674](https://github.com/rudderlabs/rudder-transformer/issues/1674) [#1660](https://github.com/rudderlabs/rudder-transformer/issues/1660) [#1648](https://github.com/rudderlabs/rudder-transformer/issues/1648) [#1675](https://github.com/rudderlabs/rudder-transformer/issues/1675) [#1677](https://github.com/rudderlabs/rudder-transformer/issues/1677) [#1678](https://github.com/rudderlabs/rudder-transformer/issues/1678) [#1676](https://github.com/rudderlabs/rudder-transformer/issues/1676) [#1680](https://github.com/rudderlabs/rudder-transformer/issues/1680) [#1682](https://github.com/rudderlabs/rudder-transformer/issues/1682) [#1681](https://github.com/rudderlabs/rudder-transformer/issues/1681) [#1684](https://github.com/rudderlabs/rudder-transformer/issues/1684) [#1685](https://github.com/rudderlabs/rudder-transformer/issues/1685) [#1686](https://github.com/rudderlabs/rudder-transformer/issues/1686) [#1687](https://github.com/rudderlabs/rudder-transformer/issues/1687) [#1688](https://github.com/rudderlabs/rudder-transformer/issues/1688) [#1689](https://github.com/rudderlabs/rudder-transformer/issues/1689) [#1690](https://github.com/rudderlabs/rudder-transformer/issues/1690) [#1691](https://github.com/rudderlabs/rudder-transformer/issues/1691) [#1692](https://github.com/rudderlabs/rudder-transformer/issues/1692) [#1697](https://github.com/rudderlabs/rudder-transformer/issues/1697) [#1699](https://github.com/rudderlabs/rudder-transformer/issues/1699) [#1700](https://github.com/rudderlabs/rudder-transformer/issues/1700) [#1698](https://github.com/rudderlabs/rudder-transformer/issues/1698) [#1704](https://github.com/rudderlabs/rudder-transformer/issues/1704) [#1705](https://github.com/rudderlabs/rudder-transformer/issues/1705) +* **destination:** onboard pipedream ([#1703](https://github.com/rudderlabs/rudder-transformer/issues/1703)) ([f03e86a](https://github.com/rudderlabs/rudder-transformer/commit/f03e86a89c1123310b5d9507c5e4d82ea3d4bbf8)) +* **destination:** onboard TikTok_Ads_Offline_Events ([#1749](https://github.com/rudderlabs/rudder-transformer/issues/1749)) ([67a3a4e](https://github.com/rudderlabs/rudder-transformer/commit/67a3a4ef6f9caa3a87afce09d502a702c584ce33)) +* ga4 hybrid mode support ([#1709](https://github.com/rudderlabs/rudder-transformer/issues/1709)) ([08779d4](https://github.com/rudderlabs/rudder-transformer/commit/08779d4b8ff94bd21d9ef3600736503193da1620)) +* **integration:** adobe_analytics-fix typo, add missing mapping ([#1763](https://github.com/rudderlabs/rudder-transformer/issues/1763)) ([32f65dc](https://github.com/rudderlabs/rudder-transformer/commit/32f65dcdd3d807be1eb9a409a7b5b1d0892b067a)) +* **new integration:** onboarding sendinblue cloud mode destination ([#1662](https://github.com/rudderlabs/rudder-transformer/issues/1662)) ([e265e66](https://github.com/rudderlabs/rudder-transformer/commit/e265e66a900671f537198769b8ee0c61694bdbf2)) +* onboard pagerduty destination ([#1736](https://github.com/rudderlabs/rudder-transformer/issues/1736)) ([a947b10](https://github.com/rudderlabs/rudder-transformer/commit/a947b10c5d642463d1a03061906520ebbfdc9b05)) +* onboard pagerduty source ([#1721](https://github.com/rudderlabs/rudder-transformer/issues/1721)) ([927fa95](https://github.com/rudderlabs/rudder-transformer/commit/927fa951c35cfe098dfdb3e5499fdffcc47cb18d)) +* **pinterest:** add ldp support ([#1731](https://github.com/rudderlabs/rudder-transformer/issues/1731)) ([a54d074](https://github.com/rudderlabs/rudder-transformer/commit/a54d074f547e5e1d291bf6fa830afc013c2c7146)) +* **transformation:** faas integration for python transformations ([#1664](https://github.com/rudderlabs/rudder-transformer/issues/1664)) ([5ac8ac5](https://github.com/rudderlabs/rudder-transformer/commit/5ac8ac54b2e10ff600ab7c08b8a9ce3e6a345bee)) + + +### Bug Fixes + +* **amplitude:** added an error validation at processor ([#1717](https://github.com/rudderlabs/rudder-transformer/issues/1717)) ([424bce9](https://github.com/rudderlabs/rudder-transformer/commit/424bce9cc72a2196a955efd08e643d04e337317a)) +* **destination:** credentials exposure on live events for aws lambda ([#1726](https://github.com/rudderlabs/rudder-transformer/issues/1726)) ([589fc40](https://github.com/rudderlabs/rudder-transformer/commit/589fc407d2c4449628fa7915289ae9a1c97d20d4)) +* encode email with encodeUriComponent before searching ([#1729](https://github.com/rudderlabs/rudder-transformer/issues/1729)) ([21b624f](https://github.com/rudderlabs/rudder-transformer/commit/21b624f59c098a0459a16347e1845d7a661377fd)) +* **facebook pixel:** error code mapping for transformer proxy ([#1738](https://github.com/rudderlabs/rudder-transformer/issues/1738)) ([4e98299](https://github.com/rudderlabs/rudder-transformer/commit/4e98299298f10dc5ae39d5a3994746515622c729)) +* fixed flattenJson method ([#1718](https://github.com/rudderlabs/rudder-transformer/issues/1718)) ([9edb44e](https://github.com/rudderlabs/rudder-transformer/commit/9edb44e11b9b7ae059e9f4cfa88633e3fa4cd902)) +* hotfix for zendesk global variable ([a5d4424](https://github.com/rudderlabs/rudder-transformer/commit/a5d442405b3b55cc3bafd1389a771904d31da7c6)) +* set content_type product by default ([#1761](https://github.com/rudderlabs/rudder-transformer/issues/1761)) ([6f9cda1](https://github.com/rudderlabs/rudder-transformer/commit/6f9cda143cb8ab6b215f4b3684c5375a76d160fd)) +* user deletion handlers implementation across destinations ([#1748](https://github.com/rudderlabs/rudder-transformer/issues/1748)) ([786cfe0](https://github.com/rudderlabs/rudder-transformer/commit/786cfe0d0849d68a511c920d6c292ef3f73aee7f)), closes [#1720](https://github.com/rudderlabs/rudder-transformer/issues/1720) [#1719](https://github.com/rudderlabs/rudder-transformer/issues/1719) [#1723](https://github.com/rudderlabs/rudder-transformer/issues/1723) [#1751](https://github.com/rudderlabs/rudder-transformer/issues/1751) [#1750](https://github.com/rudderlabs/rudder-transformer/issues/1750) [#1735](https://github.com/rudderlabs/rudder-transformer/issues/1735) +* **zendesk:** remove endpoint global variable ([#1746](https://github.com/rudderlabs/rudder-transformer/issues/1746)) ([836c37e](https://github.com/rudderlabs/rudder-transformer/commit/836c37eb069ee88d24806e692ec70e0d0b045ae1)) + +## [1.10.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.9.1...v1.10.0) (2022-12-20) + + +### Features + +* introduce new tags and error classes ([#1631](https://github.com/rudderlabs/rudder-transformer/issues/1631)) ([0615a31](https://github.com/rudderlabs/rudder-transformer/commit/0615a3196d4203f6f648a4e04ca84e7ede405895)), closes [#1647](https://github.com/rudderlabs/rudder-transformer/issues/1647) [#1644](https://github.com/rudderlabs/rudder-transformer/issues/1644) [#1656](https://github.com/rudderlabs/rudder-transformer/issues/1656) [#1658](https://github.com/rudderlabs/rudder-transformer/issues/1658) [#1665](https://github.com/rudderlabs/rudder-transformer/issues/1665) [#1649](https://github.com/rudderlabs/rudder-transformer/issues/1649) [#1652](https://github.com/rudderlabs/rudder-transformer/issues/1652) [#1651](https://github.com/rudderlabs/rudder-transformer/issues/1651) [#1669](https://github.com/rudderlabs/rudder-transformer/issues/1669) [#1673](https://github.com/rudderlabs/rudder-transformer/issues/1673) [#1638](https://github.com/rudderlabs/rudder-transformer/issues/1638) [#1641](https://github.com/rudderlabs/rudder-transformer/issues/1641) [#1653](https://github.com/rudderlabs/rudder-transformer/issues/1653) [#1661](https://github.com/rudderlabs/rudder-transformer/issues/1661) [#1666](https://github.com/rudderlabs/rudder-transformer/issues/1666) [#1667](https://github.com/rudderlabs/rudder-transformer/issues/1667) [#1671](https://github.com/rudderlabs/rudder-transformer/issues/1671) [#1659](https://github.com/rudderlabs/rudder-transformer/issues/1659) [#1654](https://github.com/rudderlabs/rudder-transformer/issues/1654) [#1655](https://github.com/rudderlabs/rudder-transformer/issues/1655) [#1670](https://github.com/rudderlabs/rudder-transformer/issues/1670) [#1657](https://github.com/rudderlabs/rudder-transformer/issues/1657) [#1672](https://github.com/rudderlabs/rudder-transformer/issues/1672) [#1642](https://github.com/rudderlabs/rudder-transformer/issues/1642) [#1645](https://github.com/rudderlabs/rudder-transformer/issues/1645) [#1650](https://github.com/rudderlabs/rudder-transformer/issues/1650) [#1639](https://github.com/rudderlabs/rudder-transformer/issues/1639) [#1674](https://github.com/rudderlabs/rudder-transformer/issues/1674) [#1660](https://github.com/rudderlabs/rudder-transformer/issues/1660) [#1648](https://github.com/rudderlabs/rudder-transformer/issues/1648) [#1675](https://github.com/rudderlabs/rudder-transformer/issues/1675) [#1677](https://github.com/rudderlabs/rudder-transformer/issues/1677) [#1678](https://github.com/rudderlabs/rudder-transformer/issues/1678) [#1676](https://github.com/rudderlabs/rudder-transformer/issues/1676) [#1680](https://github.com/rudderlabs/rudder-transformer/issues/1680) [#1682](https://github.com/rudderlabs/rudder-transformer/issues/1682) [#1681](https://github.com/rudderlabs/rudder-transformer/issues/1681) [#1684](https://github.com/rudderlabs/rudder-transformer/issues/1684) [#1685](https://github.com/rudderlabs/rudder-transformer/issues/1685) [#1686](https://github.com/rudderlabs/rudder-transformer/issues/1686) [#1687](https://github.com/rudderlabs/rudder-transformer/issues/1687) [#1688](https://github.com/rudderlabs/rudder-transformer/issues/1688) [#1689](https://github.com/rudderlabs/rudder-transformer/issues/1689) [#1690](https://github.com/rudderlabs/rudder-transformer/issues/1690) [#1691](https://github.com/rudderlabs/rudder-transformer/issues/1691) [#1692](https://github.com/rudderlabs/rudder-transformer/issues/1692) [#1697](https://github.com/rudderlabs/rudder-transformer/issues/1697) [#1699](https://github.com/rudderlabs/rudder-transformer/issues/1699) [#1700](https://github.com/rudderlabs/rudder-transformer/issues/1700) [#1698](https://github.com/rudderlabs/rudder-transformer/issues/1698) [#1704](https://github.com/rudderlabs/rudder-transformer/issues/1704) [#1705](https://github.com/rudderlabs/rudder-transformer/issues/1705) + + +### Bug Fixes + +* minor issues ([#1711](https://github.com/rudderlabs/rudder-transformer/issues/1711)) ([fdea0bd](https://github.com/rudderlabs/rudder-transformer/commit/fdea0bd74529d7f4625885a594eea9fa20a0f20a)) + +### [1.9.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.9.0...v1.9.1) (2022-12-16) + + +### Bug Fixes + +* **trackingplan:** error message population ([#1706](https://github.com/rudderlabs/rudder-transformer/issues/1706)) ([72079a7](https://github.com/rudderlabs/rudder-transformer/commit/72079a7a71f52d44b057df6a910f0b0b54108f72)) + +## [1.9.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.8.0...v1.9.0) (2022-12-16) + + +### Features + +* **destination:** onboard pipedream as event stream source ([#1634](https://github.com/rudderlabs/rudder-transformer/issues/1634)) ([477e2f7](https://github.com/rudderlabs/rudder-transformer/commit/477e2f79704576c5611a9a7e97faf066db10dd87)) +* map the usertraits for all event in Posthog ([#1636](https://github.com/rudderlabs/rudder-transformer/issues/1636)) ([3a12f79](https://github.com/rudderlabs/rudder-transformer/commit/3a12f793073ab360ef5f235aac77b3c587c16006)) +* onboard ga4 hybrid mode ([#1617](https://github.com/rudderlabs/rudder-transformer/issues/1617)) ([0986b76](https://github.com/rudderlabs/rudder-transformer/commit/0986b769d2e2d84314724a16c322cd05d9fa8bd4)) +* onboard pinterest and algolia to json template engine ([#1640](https://github.com/rudderlabs/rudder-transformer/issues/1640)) ([f0f4717](https://github.com/rudderlabs/rudder-transformer/commit/f0f471762dae0ccc8f3449c50f1602bf03a54ec5)) + + +### Bug Fixes + +* **destination:** follow ecommerce spec in tiktok_ads ([#1629](https://github.com/rudderlabs/rudder-transformer/issues/1629)) ([a258bfb](https://github.com/rudderlabs/rudder-transformer/commit/a258bfb4b746aa48c12435792adb477a2957334e)) +* upgrade base node image in dockerfiles ([#1702](https://github.com/rudderlabs/rudder-transformer/issues/1702)) ([a26b20e](https://github.com/rudderlabs/rudder-transformer/commit/a26b20e43915cb8020e46e16c1997b38663f1899)) + +## [1.8.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.7.0...v1.8.0) (2022-12-07) + + +### Features + +* added subscription group in braze ([#1597](https://github.com/rudderlabs/rudder-transformer/issues/1597)) ([f321f4e](https://github.com/rudderlabs/rudder-transformer/commit/f321f4e525c077c06c853530d8c8c23da35baee1)) +* **clevertap:** onboarding clevertap transformer proxy ([#1596](https://github.com/rudderlabs/rudder-transformer/issues/1596)) ([5479aa6](https://github.com/rudderlabs/rudder-transformer/commit/5479aa6afde2171bfd767602c55a36590ed7059b)) +* **destination:** add groupId support as groupKey in mixpanel ([#1590](https://github.com/rudderlabs/rudder-transformer/issues/1590)) ([a33adc6](https://github.com/rudderlabs/rudder-transformer/commit/a33adc6c12a4f7cd6b62955bc29d58206034b3c4)) +* **destination:** cache eviction in salesforce ([#1598](https://github.com/rudderlabs/rudder-transformer/issues/1598)) ([9af5552](https://github.com/rudderlabs/rudder-transformer/commit/9af55520f3199b4ad0027edac4650b81193ff9c5)) +* **destination:** onboard awin integration ([#1589](https://github.com/rudderlabs/rudder-transformer/issues/1589)) ([f015518](https://github.com/rudderlabs/rudder-transformer/commit/f0155185d3a9b9dfa3681a9b52c64fe5e24d6d6d)) +* **destination:** onboard marketo static list ([#1558](https://github.com/rudderlabs/rudder-transformer/issues/1558)) ([db73de9](https://github.com/rudderlabs/rudder-transformer/commit/db73de99dd538eb1c820d3bd2d42689163993cfe)) +* **destination:** onboard persistIq ([#1612](https://github.com/rudderlabs/rudder-transformer/issues/1612)) ([103ad00](https://github.com/rudderlabs/rudder-transformer/commit/103ad00df7d28d3368382cf7b0099c901bb853e4)) +* **destination:** singular- add support for other apple os ([#1611](https://github.com/rudderlabs/rudder-transformer/issues/1611)) ([63f23d8](https://github.com/rudderlabs/rudder-transformer/commit/63f23d8dc8bcf80b84b0976903dfb360785bec86)) +* ga user delete support ([#1531](https://github.com/rudderlabs/rudder-transformer/issues/1531)) ([eb198dd](https://github.com/rudderlabs/rudder-transformer/commit/eb198dd085d16d9c9069352cec8bfb6f33247654)), closes [#1551](https://github.com/rudderlabs/rudder-transformer/issues/1551) +* ga4 hybrid mode suport ([#1607](https://github.com/rudderlabs/rudder-transformer/issues/1607)) ([3edaa10](https://github.com/rudderlabs/rudder-transformer/commit/3edaa10741b2527bb05e13b129f233cba781d1e3)) +* **integration:** shopify- Add topic support in context for debugging ([#1602](https://github.com/rudderlabs/rudder-transformer/issues/1602)) ([ff3fab2](https://github.com/rudderlabs/rudder-transformer/commit/ff3fab2ec13e012aad1920c6b86b6b3e78062690)) +* **integrations:** update primary email for zendesk ([#1604](https://github.com/rudderlabs/rudder-transformer/issues/1604)) ([157f91e](https://github.com/rudderlabs/rudder-transformer/commit/157f91ef5654fddda90e8eb3e1f5899cee681854)) +* onboard olark source ([#1614](https://github.com/rudderlabs/rudder-transformer/issues/1614)) ([64db0ec](https://github.com/rudderlabs/rudder-transformer/commit/64db0ec3a77a58a61d456ac66d91bcc1ee172c64)) +* **source:** onboard satismeter as an event-stream ([#1594](https://github.com/rudderlabs/rudder-transformer/issues/1594)) ([53b9d6f](https://github.com/rudderlabs/rudder-transformer/commit/53b9d6ffaf0db1daa3eda8f8c89a0034cb50164e)) + + +### Bug Fixes + +* bugsnag bug fixes for several destinations and sources ([#1585](https://github.com/rudderlabs/rudder-transformer/issues/1585)) ([c222dc6](https://github.com/rudderlabs/rudder-transformer/commit/c222dc6cbc489d23ad9b38137c449e76084b458e)) +* **destination:** empty params fix in awin ([#1628](https://github.com/rudderlabs/rudder-transformer/issues/1628)) ([e36ab45](https://github.com/rudderlabs/rudder-transformer/commit/e36ab455ce33a308c58aed84c51fef7f9b80ea26)) +* email not required for update call ([#1626](https://github.com/rudderlabs/rudder-transformer/issues/1626)) ([51dcbd9](https://github.com/rudderlabs/rudder-transformer/commit/51dcbd9a0efee2cdc3342bdcc96c67783a5aa118)) +* fixed encryption info and quantity mandatory in CM360 ([#1618](https://github.com/rudderlabs/rudder-transformer/issues/1618)) ([bbe0a26](https://github.com/rudderlabs/rudder-transformer/commit/bbe0a2689930ed783abfd1cf6ea66d50cf1cf826)) +* remove disable destination category for OAuth destinations ([#1601](https://github.com/rudderlabs/rudder-transformer/issues/1601)) ([06f9ee7](https://github.com/rudderlabs/rudder-transformer/commit/06f9ee749d692ec781d53aa229fd58964d0420dd)) +* saas -> master ([#1603](https://github.com/rudderlabs/rudder-transformer/issues/1603)) ([b154e1d](https://github.com/rudderlabs/rudder-transformer/commit/b154e1d61bd894e27f62ecc737d1dd0f1b16d28a)), closes [#1601](https://github.com/rudderlabs/rudder-transformer/issues/1601) [#1606](https://github.com/rudderlabs/rudder-transformer/issues/1606) + +## [1.7.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.6.0...v1.7.0) (2022-11-17) + + +### Features + +* add support for topic parsing ([#1574](https://github.com/rudderlabs/rudder-transformer/issues/1574)) ([da64878](https://github.com/rudderlabs/rudder-transformer/commit/da648788ab0460bd231cf9147fb9852747551ef8)) +* **destination:** add partner_name for tiktok ads ([#1583](https://github.com/rudderlabs/rudder-transformer/issues/1583)) ([12265a9](https://github.com/rudderlabs/rudder-transformer/commit/12265a952a171627ac05d7eab8899d97ceade13c)) +* **destination:** onboard campaign manager ([#1580](https://github.com/rudderlabs/rudder-transformer/issues/1580)) ([b823a53](https://github.com/rudderlabs/rudder-transformer/commit/b823a538ca4d4f38faa4762ae986375e0eb8ae05)) +* sendgrid idetify and user deletion support ([#1571](https://github.com/rudderlabs/rudder-transformer/issues/1571)) ([caee969](https://github.com/rudderlabs/rudder-transformer/commit/caee969c79ce9673096d0fc4d08be3ba942ce9f5)) + + +### Bug Fixes + +* (marketo) logger import ([#1576](https://github.com/rudderlabs/rudder-transformer/issues/1576)) ([c83f046](https://github.com/rudderlabs/rudder-transformer/commit/c83f046ee8baed0e61e8c4d2ac78fec74d74b794)) +* add test coverage for processMetadata function ([#1567](https://github.com/rudderlabs/rudder-transformer/issues/1567)) ([b438daa](https://github.com/rudderlabs/rudder-transformer/commit/b438daad9bf0c845d867e0261ff69e77fc3ee0cd)) +* **destination:** fix the flattening issue solve for ga4 ([#1581](https://github.com/rudderlabs/rudder-transformer/issues/1581)) ([bea730d](https://github.com/rudderlabs/rudder-transformer/commit/bea730da510c016bd3a71cb519316375b44ea6d3)) +* **destination:** revamp group call in Gainsight_PX to reduce API calls ([#1578](https://github.com/rudderlabs/rudder-transformer/issues/1578)) ([f641cc0](https://github.com/rudderlabs/rudder-transformer/commit/f641cc0d3b64fcb736bbd4d5208819958bacb393)) +* **destination:** update formating of user traits in facebook pixel ([#1579](https://github.com/rudderlabs/rudder-transformer/issues/1579)) ([b7772e4](https://github.com/rudderlabs/rudder-transformer/commit/b7772e41530f1d4e88263408d4ff3532c187eaf5)) +* **integration:** Shopify - correct typo in customer_disabled, add to track_maps ([#1573](https://github.com/rudderlabs/rudder-transformer/issues/1573)) ([cfb5c56](https://github.com/rudderlabs/rudder-transformer/commit/cfb5c56bdc70e52dc996fdfc9c26743a6728d875)) +* **transformation:** convert slash to dot to get valid docker image name ([#1564](https://github.com/rudderlabs/rudder-transformer/issues/1564)) ([f1b6b94](https://github.com/rudderlabs/rudder-transformer/commit/f1b6b946e1a6eb519560b675f3fce10d1e833950)) +* typo in topic mapping for shopify source ([#1566](https://github.com/rudderlabs/rudder-transformer/issues/1566)) ([0ecf278](https://github.com/rudderlabs/rudder-transformer/commit/0ecf278be9a2435ed67fee299350a34c4b13bb9a)) + +## [1.6.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.5.0...v1.6.0) (2022-11-10) + + +### Features + +* **destination:** skip unix timestamp conversion if already being sent from source ([#1560](https://github.com/rudderlabs/rudder-transformer/issues/1560)) ([a52cbd7](https://github.com/rudderlabs/rudder-transformer/commit/a52cbd797fa8a0ccec6589ff78b966da26040fbc)) +* **destination:** stringify the object and array for Clevertap ([#1554](https://github.com/rudderlabs/rudder-transformer/issues/1554)) ([1c7b459](https://github.com/rudderlabs/rudder-transformer/commit/1c7b459d74ae0b17360d0e49e9bc11557e6f4233)) +* **destination:** support custom mapping with client_id for ga4 destination ([#1553](https://github.com/rudderlabs/rudder-transformer/issues/1553)) ([e9f056b](https://github.com/rudderlabs/rudder-transformer/commit/e9f056bacad84d7e59e58904626c6eb7edcc4686)) +* **destination:** update identify call to set primary email for Zendesk([#1539](https://github.com/rudderlabs/rudder-transformer/issues/1539)) ([ed307a3](https://github.com/rudderlabs/rudder-transformer/commit/ed307a31ff46575f3a606a0894eeeaaec0b40c00)) +* **marketo:** add dynamic ttl & cache eviction support ([#1519](https://github.com/rudderlabs/rudder-transformer/issues/1519)) ([19f1081](https://github.com/rudderlabs/rudder-transformer/commit/19f1081cc32ba9798876dcb9d46d9d094c171e1d)) +* support custom webhooks in auth0 source transformer ([#1527](https://github.com/rudderlabs/rudder-transformer/issues/1527)) ([ebc005f](https://github.com/rudderlabs/rudder-transformer/commit/ebc005f84d3af4a7a32f362cc7ece842c8f269a1)) + + +### Bug Fixes + +* (marketo)- remove duplicate responseHandler from util and refactor ([#1557](https://github.com/rudderlabs/rudder-transformer/issues/1557)) ([144793e](https://github.com/rudderlabs/rudder-transformer/commit/144793eef2c83b9bc43b989b061c7c7a7c4f07fe)) +* **destination:** do not update event properties to lowercase in hubspot ([#1559](https://github.com/rudderlabs/rudder-transformer/issues/1559)) ([e41b37f](https://github.com/rudderlabs/rudder-transformer/commit/e41b37f38f1f9de87fa452ea30c6587d87a95a5d)) +* ecom events properties mapping correction ([#1549](https://github.com/rudderlabs/rudder-transformer/issues/1549)) ([0e9c816](https://github.com/rudderlabs/rudder-transformer/commit/0e9c816092c5fc777f2d472e13ec3aa94def2160)) +* incorrect lodash cloneDeep import ([#1545](https://github.com/rudderlabs/rudder-transformer/issues/1545)) ([5e70dca](https://github.com/rudderlabs/rudder-transformer/commit/5e70dcae665f3610ea6e65bb2d6303b9a547036e)) +* suppress cdk error types ([#1555](https://github.com/rudderlabs/rudder-transformer/issues/1555)) ([9215a7c](https://github.com/rudderlabs/rudder-transformer/commit/9215a7ca272122199202d26301f9515a1a3bd6b0)) + +## [1.5.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.4.0...v1.5.0) (2022-11-03) + + +### Features + +* added multitopic support for kafka ([#1488](https://github.com/rudderlabs/rudder-transformer/issues/1488)) ([bd1298b](https://github.com/rudderlabs/rudder-transformer/commit/bd1298b57358cf62a2ef7f74fe06ba0200bda488)) +* **new integration:** onboarding snapchat custom audience ([#1443](https://github.com/rudderlabs/rudder-transformer/issues/1443)) ([1e00248](https://github.com/rudderlabs/rudder-transformer/commit/1e0024824074e4b66a67f38302ec02d611e7a8c7)) + + +### Bug Fixes + +* fixing errors caught by bugsnag ([#1536](https://github.com/rudderlabs/rudder-transformer/issues/1536)) ([9c43896](https://github.com/rudderlabs/rudder-transformer/commit/9c43896f27be87d8c024a61b4cb4a09124918f23)) +* suppress errors thrown from the transformers in bugsnag notifier ([#1534](https://github.com/rudderlabs/rudder-transformer/issues/1534)) ([1ca8e9f](https://github.com/rudderlabs/rudder-transformer/commit/1ca8e9f704eb03699c198c91cf1691ccdfa42772)) + +## [1.4.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.3.0...v1.4.0) (2022-11-01) + + +### Features + +* **integration:** onboarding gainsight px source ([#1500](https://github.com/rudderlabs/rudder-transformer/issues/1500)) ([0d0cce5](https://github.com/rudderlabs/rudder-transformer/commit/0d0cce5299b0cad9c616cb7b0bbee92f6f414732)) +* onboard algolia destination to cdk 2.0 ([#1474](https://github.com/rudderlabs/rudder-transformer/issues/1474)) ([e716d84](https://github.com/rudderlabs/rudder-transformer/commit/e716d8458d636854f59a555cafc2a7b00a0b1b50)) + + +### Bug Fixes + +* **amplitude:** send error response instead of discarding the event during batch processing ([#1521](https://github.com/rudderlabs/rudder-transformer/issues/1521)) ([fece19f](https://github.com/rudderlabs/rudder-transformer/commit/fece19fccff44a31d1d96c43bd138ce6f2cce10d)) +* cdk based live compare test results ([#1483](https://github.com/rudderlabs/rudder-transformer/issues/1483)) ([d8f32c3](https://github.com/rudderlabs/rudder-transformer/commit/d8f32c3d522a6e3b33023828e1bd8b870046861f)) +* error stat issue for algolia ([#1528](https://github.com/rudderlabs/rudder-transformer/issues/1528)) ([3a7482c](https://github.com/rudderlabs/rudder-transformer/commit/3a7482cf4f6d37785e9ef595bd7e4a9d54aebedb)) +* upgrade ajv from 8.6.1 to 8.11.0 ([#1372](https://github.com/rudderlabs/rudder-transformer/issues/1372)) ([f3b54c0](https://github.com/rudderlabs/rudder-transformer/commit/f3b54c0876bb7be79244e02e31517db13260c610)) +* upgrade axios from 0.26.1 to 0.27.2 ([#1403](https://github.com/rudderlabs/rudder-transformer/issues/1403)) ([1186518](https://github.com/rudderlabs/rudder-transformer/commit/1186518cf89ad4de3ad16ae0a0fcb09e148bdfe5)) + +## [1.3.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.2.0...v1.3.0) (2022-10-25) + + +### Features + +* **error reporting:** integrate bugsnag ([#1469](https://github.com/rudderlabs/rudder-transformer/issues/1469)) ([39b5fa2](https://github.com/rudderlabs/rudder-transformer/commit/39b5fa22ddb8e79d540242c66732cdcb31760ba9)) +* **integrations:** added support for catalogs iterable with vdm rETL source ([#1439](https://github.com/rudderlabs/rudder-transformer/issues/1439)) ([586f771](https://github.com/rudderlabs/rudder-transformer/commit/586f771f8e0733ac2f79ea4741bb155eb24910ca)) +* **new integration:** factorsAi ([#1490](https://github.com/rudderlabs/rudder-transformer/issues/1490)) ([1000ca8](https://github.com/rudderlabs/rudder-transformer/commit/1000ca8853b48f65bf1e8db0e2999f1d4b47387b)) + + +### Bug Fixes + +* bugsnag error notify handler ([#1512](https://github.com/rudderlabs/rudder-transformer/issues/1512)) ([d947c0e](https://github.com/rudderlabs/rudder-transformer/commit/d947c0ec23998ce54553839cf4b2e337c379713e)) +* **mixpanel:** stripped off last 36 characters of insert_id ([#1503](https://github.com/rudderlabs/rudder-transformer/issues/1503)) ([550faec](https://github.com/rudderlabs/rudder-transformer/commit/550faecae92d48364b0fdebb8e50c057c0dfffe2)) +* posthog group update ([#1496](https://github.com/rudderlabs/rudder-transformer/issues/1496)) ([154f656](https://github.com/rudderlabs/rudder-transformer/commit/154f656e2d437c1c54a6ef85c1b37f65fe154f14)) +* skip adding Id field to salesforce payload for retl ([#1501](https://github.com/rudderlabs/rudder-transformer/issues/1501)) ([d2808f4](https://github.com/rudderlabs/rudder-transformer/commit/d2808f42ae3d3281468dbec1fc13e1511a45ebcd)) +* upgrade @aws-sdk/client-s3 from 3.56.0 to 3.180.0 ([#1505](https://github.com/rudderlabs/rudder-transformer/issues/1505)) ([58c0179](https://github.com/rudderlabs/rudder-transformer/commit/58c01795f2c5b767e614c0d1777d7173eb741d17)) +* upgrade @aws-sdk/lib-storage from 3.56.0 to 3.142.0 ([#1370](https://github.com/rudderlabs/rudder-transformer/issues/1370)) ([94faae5](https://github.com/rudderlabs/rudder-transformer/commit/94faae5fe34ef559b82975d4c53f4bd54b6dbaf1)) + +## [1.2.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.1.0...v1.2.0) (2022-10-18) + + +* release 1.2.0 ([1ce4963](https://github.com/rudderlabs/rudder-transformer/commit/1ce4963a959d38077d5eece1795d7af5b6379314)) + +## [1.1.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.0.0...v1.1.0) (2022-10-17) + + +### Features + +* **integration:** Marketo- attribute to attributes, apiName to name,… ([#1481](https://github.com/rudderlabs/rudder-transformer/issues/1481)) ([e7187d6](https://github.com/rudderlabs/rudder-transformer/commit/e7187d64ef20dd788826eed91a9bd234b778c93a)) + +## [1.0.0](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.5-rc.0...v1.0.0) (2022-10-13) + + +### Features + +* add commit id and version in health endpoint ([#1445](https://github.com/rudderlabs/rudder-transformer/issues/1445)) ([e21dca7](https://github.com/rudderlabs/rudder-transformer/commit/e21dca7106afae7b6150fa8ab85520de321a2ea4)) +* Add library key support ([4aa31af](https://github.com/rudderlabs/rudder-transformer/commit/4aa31afc9828a20132a5b9142279f6d06179039a)) +* Add support for all Apple family OSes ([#925](https://github.com/rudderlabs/rudder-transformer/issues/925)) ([0962527](https://github.com/rudderlabs/rudder-transformer/commit/0962527bbe11927a53dd0c3973d5d39da0b961ce)) +* add Variance as a destination ([c5f84c6](https://github.com/rudderlabs/rudder-transformer/commit/c5f84c6f58b27ee45728f190869e21145a522a62)) +* Added library key support for Amplitude ([5af62c0](https://github.com/rudderlabs/rudder-transformer/commit/5af62c09668eff2ee321dc72eed784c27bb25ee0)) +* Added library key support for Amplitude ([f0cf6b5](https://github.com/rudderlabs/rudder-transformer/commit/f0cf6b526cf3f0dc9ffcc1476df683a351264c04)) +* **Facebook Pixel:** add response parsing support ([#1412](https://github.com/rudderlabs/rudder-transformer/issues/1412)) ([00893c1](https://github.com/rudderlabs/rudder-transformer/commit/00893c1e525473df306648b0946ecb90841c4197)) +* **hs:** Add support for hubspot association events sent from retl ([#1361](https://github.com/rudderlabs/rudder-transformer/issues/1361)) ([b18c93f](https://github.com/rudderlabs/rudder-transformer/commit/b18c93f9865b4ecb0b5025370c544c58102a4df0)) +* integrate cdk v2 ([#1448](https://github.com/rudderlabs/rudder-transformer/issues/1448)) ([d5086c2](https://github.com/rudderlabs/rudder-transformer/commit/d5086c2f0807424ac4e66a6c12e59b07eada5cbe)) +* **integration:** fb custom audience - upgrade v14 to v15 ([#1463](https://github.com/rudderlabs/rudder-transformer/issues/1463)) ([f83a4b6](https://github.com/rudderlabs/rudder-transformer/commit/f83a4b607fdf02746e60c103e8a29850caeca9e3)) +* **integration:** marketo - correct attribute to attributes, fix test cases ([#1446](https://github.com/rudderlabs/rudder-transformer/issues/1446)) ([80b148f](https://github.com/rudderlabs/rudder-transformer/commit/80b148fabb0eb49ac132e196c2aae0e5be3fed6f)) +* **integration:** onboard Facebook Offline Conversions destination ([#1462](https://github.com/rudderlabs/rudder-transformer/issues/1462)) ([9f0413b](https://github.com/rudderlabs/rudder-transformer/commit/9f0413b8285793ced787cd385beed956b675982a)) +* **integration:** Singular- allow empty string by default for instal… ([#1480](https://github.com/rudderlabs/rudder-transformer/issues/1480)) ([c44dec2](https://github.com/rudderlabs/rudder-transformer/commit/c44dec2a0d6952647489754b3bd5d7917d563251)) +* **integration:** Singular- unixtimestamp format fixes and empty url allowed for openuri ([#1476](https://github.com/rudderlabs/rudder-transformer/issues/1476)) ([66c1efd](https://github.com/rudderlabs/rudder-transformer/commit/66c1efd87878485c78a01f82ec8cafd21056f8a6)) +* **integrations:** user deletion support for mp, clevertap, and af destinations ([#1426](https://github.com/rudderlabs/rudder-transformer/issues/1426)) ([b5c5d6f](https://github.com/rudderlabs/rudder-transformer/commit/b5c5d6fbb9023fbf86e370366ab3f6818b4c343b)) +* json support for warehouse destinations ([#1144](https://github.com/rudderlabs/rudder-transformer/issues/1144)) ([a431b08](https://github.com/rudderlabs/rudder-transformer/commit/a431b087e139a26477050f64ee26dbbe473899a9)) +* Klaviyo ecommerce Specs ([#904](https://github.com/rudderlabs/rudder-transformer/issues/904)) ([5dd5329](https://github.com/rudderlabs/rudder-transformer/commit/5dd53296fbe4add44cc4acb330a61d5e4e11ddc9)) +* migrate pinterest to cdk ([#1458](https://github.com/rudderlabs/rudder-transformer/issues/1458)) ([addff70](https://github.com/rudderlabs/rudder-transformer/commit/addff70d77e50b53cb7bb10fa4f4f59523f38f57)) +* **new integration:** google adwords offline conversions onboarding ([#1397](https://github.com/rudderlabs/rudder-transformer/issues/1397)) ([4974b6d](https://github.com/rudderlabs/rudder-transformer/commit/4974b6d40c6cfcae0f455bc18704137d9b921192)) +* **new integration:** june cloud mode destination onboarding ([#1433](https://github.com/rudderlabs/rudder-transformer/issues/1433)) ([458b32c](https://github.com/rudderlabs/rudder-transformer/commit/458b32c2d4e0100a56eb084128ca0aa76e2a006c)) +* **new integration:** onboard Monday cloud mode destination ([#1400](https://github.com/rudderlabs/rudder-transformer/issues/1400)) ([f4e5cc4](https://github.com/rudderlabs/rudder-transformer/commit/f4e5cc4542a4cd729d8e8c77d4973dbe858bb6db)) +* **new integration:** onboarding mailjet ([#1449](https://github.com/rudderlabs/rudder-transformer/issues/1449)) ([81de8a1](https://github.com/rudderlabs/rudder-transformer/commit/81de8a16c6d1cdeb3ac8b27a7d8a0cd51fc2c4af)) +* **new integration:** onboarding mailmodo source ([#1414](https://github.com/rudderlabs/rudder-transformer/issues/1414)) ([e3689c2](https://github.com/rudderlabs/rudder-transformer/commit/e3689c249fd92baa9b3d640c0802f71b78d22650)) +* **serenytics:** onboarding serenytics cloud mode destinations ([#1430](https://github.com/rudderlabs/rudder-transformer/issues/1430)) ([b7e93e3](https://github.com/rudderlabs/rudder-transformer/commit/b7e93e310903e93c39403f1f4b819c14e09d528d)) +* **signl4:** onboarding signl4 cloud mode destination ([#1424](https://github.com/rudderlabs/rudder-transformer/issues/1424)) ([47bd3f8](https://github.com/rudderlabs/rudder-transformer/commit/47bd3f817a4df4d555a8ede656a8b311a4232519)) +* support 'event' alias for 'message' in dynamic config ([#1289](https://github.com/rudderlabs/rudder-transformer/issues/1289)) ([ff6abb8](https://github.com/rudderlabs/rudder-transformer/commit/ff6abb8d4e89af154289b246b33f6e988c0efcbd)) +* **transformation:** update env varibale name ([d904828](https://github.com/rudderlabs/rudder-transformer/commit/d904828e47a94d82a8428cf376dea5eb926d44a4)) + + +### Bug Fixes + +* address async and flow type issues ([#1457](https://github.com/rudderlabs/rudder-transformer/issues/1457)) ([632f74e](https://github.com/rudderlabs/rudder-transformer/commit/632f74e5f1d35d882ed6531f2af84b7d1fba0472)) +* **algolia:** adding check on eventTypeSetting availability ([#1423](https://github.com/rudderlabs/rudder-transformer/issues/1423)) ([d8572ff](https://github.com/rudderlabs/rudder-transformer/commit/d8572ff4949513573d5f7367fa0dc0811086e61f)) +* **appsflyer:** event name casing in track payloads ([#1390](https://github.com/rudderlabs/rudder-transformer/issues/1390)) ([3b22f18](https://github.com/rudderlabs/rudder-transformer/commit/3b22f1840acaf57b110ff67a9805be6d2bf7b062)) +* **braze:** adding dynamic support for eu data center ([#1236](https://github.com/rudderlabs/rudder-transformer/issues/1236)) ([90bc03f](https://github.com/rudderlabs/rudder-transformer/commit/90bc03f00d8ce48b8e93f28c06863c80c353116f)) +* docker vulnerabilities ([#1435](https://github.com/rudderlabs/rudder-transformer/issues/1435)) ([27084e2](https://github.com/rudderlabs/rudder-transformer/commit/27084e2c483bec679c9988a998b087a558bc5826)) +* facebook pixel proxy tests ([#1444](https://github.com/rudderlabs/rudder-transformer/issues/1444)) ([f632583](https://github.com/rudderlabs/rudder-transformer/commit/f6325833244affaffad8aa311466c1596ef01cdd)) +* Fix test case ([ac2342d](https://github.com/rudderlabs/rudder-transformer/commit/ac2342d43feabe92c7ed23495e02d9f77fb5fccd)) +* **ga:** Do not fallback to userId for cid when disableMd5 is true, keep it undefined ([ad72d59](https://github.com/rudderlabs/rudder-transformer/commit/ad72d5962c19b00ae9dbbb3cec0cc6b223c7683d)) +* **hs:** logic for custom objects support of hs with rETL ([#1222](https://github.com/rudderlabs/rudder-transformer/issues/1222)) ([5353bcc](https://github.com/rudderlabs/rudder-transformer/commit/5353bcc33f7b077aa5240ac653c747aa6f3fd4b6)) +* kafka schemaId ([#1283](https://github.com/rudderlabs/rudder-transformer/issues/1283)) ([214d5d5](https://github.com/rudderlabs/rudder-transformer/commit/214d5d53edb20b6b994d3b01bee8dddcc4fe2128)) +* **marketo:** unhandled exception status-code fix ([#1432](https://github.com/rudderlabs/rudder-transformer/issues/1432)) ([6cc4868](https://github.com/rudderlabs/rudder-transformer/commit/6cc48688c82ba501b296c1171c0327cc91e33e4d)) +* Remove event type guard that prevent traits from copying to user props ([e276ade](https://github.com/rudderlabs/rudder-transformer/commit/e276ade3c57c4556399a5be8b09f15a1877c5a2b)) +* **signl4:** correcting timestamp format ([#1431](https://github.com/rudderlabs/rudder-transformer/issues/1431)) ([18632e6](https://github.com/rudderlabs/rudder-transformer/commit/18632e632330db753eabe1fe4d90f22703979c1b)) +* **trackingplan:** adding message type optional check in tp source config ([60f0658](https://github.com/rudderlabs/rudder-transformer/commit/60f0658a5b7701d8d545ebfb838bfa19cc68c6e2)) +* upgrade dotenv from 8.2.0 to 8.6.0 ([#1389](https://github.com/rudderlabs/rudder-transformer/issues/1389)) ([1c3d001](https://github.com/rudderlabs/rudder-transformer/commit/1c3d001f8c35d0885497faa87c8ce728d6403efe)) +* upgrade koa from 2.13.0 to 2.13.4 ([#1398](https://github.com/rudderlabs/rudder-transformer/issues/1398)) ([213e30e](https://github.com/rudderlabs/rudder-transformer/commit/213e30e4c04481ee4aa9d59c346ed959acfd5bb5)) +* upgrade ua-parser-js from 0.7.24 to 0.8.1 ([#1378](https://github.com/rudderlabs/rudder-transformer/issues/1378)) ([a50899b](https://github.com/rudderlabs/rudder-transformer/commit/a50899b6780d3f640c260830c74f28cd4b1d9b5d)) +* vulnerabilities in dependencies ([#1436](https://github.com/rudderlabs/rudder-transformer/issues/1436)) ([a26e7f5](https://github.com/rudderlabs/rudder-transformer/commit/a26e7f54d5aaafa48c20826cd5dd5f3f8f30e39f)) + +### [0.1.5-rc.0](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.4...v0.1.5-rc.0) (2020-03-16) + +### [0.1.4](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.3...v0.1.4) (2020-03-02) + +### [0.1.3](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.2...v0.1.3) (2020-02-11) + +### [0.1.2](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.1...v0.1.2) (2020-02-07) + + +### Bug Fixes + +* salesforce tests ([86500b8](https://github.com/rudderlabs/rudder-transformer/commit/86500b832610f047666a4fe4799a843c5a1fb6e9)) + +### [0.1.1](https://github.com/rudderlabs/rudder-transformer/compare/v0.1.0...v0.1.1) (2019-11-05) + +## 0.1.0 (2019-10-24) + ## [1.19.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.18.0...v1.19.0) (2023-03-23) diff --git a/package-lock.json b/package-lock.json index 7357868b3d..74994b33e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.19.0", + "version": "1.20.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 658e4b6488..409fdf8ac3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.19.0", + "version": "1.20.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": {